(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
@@ -7,15 +7,7 @@ namespace Barotrauma.Steam
{
partial class SteamManager
{
#if DEBUG
public static bool USE_STEAM
{
get { return GameMain.Config.UseSteam; }
}
#else
//cannot enable/disable steam in release builds
public const bool USE_STEAM = true;
#endif
public const uint AppID = 602960;