Fix server update restarts when server paused. (#8509)

This commit is contained in:
Pieter-Jan Briers
2022-05-30 10:09:50 +02:00
committed by GitHub
parent e649dcea14
commit 5f9f319d5a
10 changed files with 135 additions and 73 deletions

View File

@@ -335,11 +335,9 @@ namespace Content.Server.GameTicking
if (DummyTicker)
return;
if (_updateOnRoundEnd)
{
_baseServer.Shutdown(Loc.GetString("game-ticker-shutdown-server-update"));
// Handle restart for server update
if (_serverUpdates.RoundEnded())
return;
}
_sawmill.Info("Restarting round!");