(69d450d58) Initialize SteamManager before creating the GameMain instance

This commit is contained in:
Joonas Rikkonen
2019-05-06 11:34:36 +03:00
parent f72fd0bf29
commit f42a7c1ec6
13 changed files with 243 additions and 145 deletions
@@ -340,7 +340,6 @@ namespace Barotrauma
GUI.Init(Window, Config.SelectedContentPackages, GraphicsDevice);
DebugConsole.Init();
SteamManager.Initialize();
if (Config.AutoUpdateWorkshopItems)
{
if (SteamManager.AutoUpdateWorkshopItems())
@@ -475,6 +474,11 @@ namespace Barotrauma
CheckContentPackage();
foreach (string steamError in SteamManager.InitializationErrors)
{
new GUIMessageBox(TextManager.Get("Error"), TextManager.Get(steamError));
}
TitleScreen.LoadState = 100.0f;
hasLoaded = true;
if (GameSettings.VerboseLogging)