(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
@@ -184,7 +184,7 @@ namespace Barotrauma
if (CheatsEnabled)
{
DebugConsole.CheatsEnabled = true;
if (GameMain.Config.UseSteam && !SteamAchievementManager.CheatsEnabled)
if (Steam.SteamManager.USE_STEAM && !SteamAchievementManager.CheatsEnabled)
{
SteamAchievementManager.CheatsEnabled = true;
#if CLIENT