Automatic server replay recordings (#18235)
Co-authored-by: Moony <moony@hellomouse.net>
This commit is contained in:
committed by
GitHub
parent
3f12b2816c
commit
c6d2dd6c7b
@@ -170,6 +170,8 @@ namespace Content.Server.GameTicking
|
||||
|
||||
_startingRound = true;
|
||||
|
||||
ReplayStartRound();
|
||||
|
||||
DebugTools.Assert(RunLevel == GameRunLevel.PreRoundLobby);
|
||||
_sawmill.Info("Starting round!");
|
||||
|
||||
@@ -365,6 +367,8 @@ namespace Content.Server.GameTicking
|
||||
if (DummyTicker)
|
||||
return;
|
||||
|
||||
ReplayEndRound();
|
||||
|
||||
// Handle restart for server update
|
||||
if (_serverUpdates.RoundEnded())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user