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