Fix Game.RoundStarted reporting incorrect values on Singleplayer
This commit is contained in:
@@ -192,6 +192,7 @@ namespace Barotrauma
|
||||
|
||||
get
|
||||
{
|
||||
if (GameMain.IsSingleplayer) { return GameMain.GameSession != null; }
|
||||
#if SERVER
|
||||
return GameMain.Server?.GameStarted == true;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user