(69d450d58) Initialize SteamManager before creating the GameMain instance
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user