Unstable 0.1300.2.11

This commit is contained in:
Markus Isberg
2021-04-27 17:12:39 +03:00
parent 2c750282ec
commit bf743f1e99
15 changed files with 140 additions and 50 deletions
@@ -696,7 +696,9 @@ namespace Barotrauma
DebugConsole.ThrowError($"Failed to reinstall \"{item?.Title}\": {errorMsg}", null, true);
elem.Flash(GUI.Style.Red);
}
RefreshSubscribedItems();
});
RefreshSubscribedItems();
}
catch (Exception e)
{
@@ -705,6 +707,7 @@ namespace Barotrauma
}
return true;
};
reinstallBtn.Enabled = !item.Value.IsDownloading && !item.Value.IsDownloadPending;
var unsubBtn = new GUIButton(new RectTransform(new Point((int)(32 * GUI.Scale)), rightColumn.RectTransform), "", style: "GUIMinusButton")
{
ToolTip = TextManager.Get("WorkshopItemUnsubscribe"),