(8df97f638) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
This commit is contained in:
@@ -78,24 +78,17 @@ namespace Barotrauma
|
||||
|
||||
#if DEBUG
|
||||
//steam functionality can be enabled/disabled in debug builds
|
||||
public bool UseSteam;
|
||||
public bool RequireSteamAuthentication
|
||||
{
|
||||
get { return requireSteamAuthentication && UseSteam; }
|
||||
get { return requireSteamAuthentication && Steam.SteamManager.USE_STEAM; }
|
||||
set { requireSteamAuthentication = value; }
|
||||
}
|
||||
public bool UseSteamMatchmaking
|
||||
{
|
||||
get { return useSteamMatchmaking && UseSteam; }
|
||||
get { return useSteamMatchmaking && Steam.SteamManager.USE_STEAM; }
|
||||
set { useSteamMatchmaking = value; }
|
||||
}
|
||||
|
||||
#else
|
||||
//steam functionality determined at compile time
|
||||
public bool UseSteam
|
||||
{
|
||||
get { return Steam.SteamManager.USE_STEAM; }
|
||||
}
|
||||
public bool RequireSteamAuthentication
|
||||
{
|
||||
get { return requireSteamAuthentication && Steam.SteamManager.USE_STEAM; }
|
||||
@@ -439,9 +432,6 @@ namespace Barotrauma
|
||||
VerboseLogging = doc.Root.GetAttributeBool("verboselogging", false);
|
||||
SaveDebugConsoleLogs = doc.Root.GetAttributeBool("savedebugconsolelogs", false);
|
||||
|
||||
#if DEBUG
|
||||
UseSteam = doc.Root.GetAttributeBool("usesteam", true);
|
||||
#endif
|
||||
QuickStartSubmarineName = doc.Root.GetAttributeString("quickstartsub", "");
|
||||
|
||||
if (doc == null)
|
||||
|
||||
Reference in New Issue
Block a user