Fix crash when getting server status

- Adds _roundStartDateTime field to GameTicker, the UTC time when the round started.
This commit is contained in:
Vera Aguilera Puerto
2021-06-20 17:38:05 +02:00
parent f7b89daa74
commit 5b41d3328e
2 changed files with 10 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ namespace Content.Server.GameTicking
readyPlayers = _playersInLobby.Keys.ToList();
}
_roundStartDateTime = DateTime.UtcNow;
RunLevel = GameRunLevel.InRound;
RoundLengthMetric.Set(0);