Fixes lobby station timer (#10261)

This commit is contained in:
Jessica M
2022-08-02 18:30:10 -07:00
committed by GitHub
parent 20b0c867c4
commit b97f0f033e
2 changed files with 3 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ namespace Content.Server.GameTicking
_roundStartDateTime = DateTime.UtcNow;
RunLevel = GameRunLevel.InRound;
_roundStartTimeSpan = _gameTiming.RealTime;
_roundStartTimeSpan = _gameTiming.CurTime;
SendStatusToAll();
ReqWindowAttentionAll();
UpdateLateJoinStatus();
@@ -475,7 +475,7 @@ namespace Content.Server.GameTicking
public TimeSpan RoundDuration()
{
return _gameTiming.RealTime.Subtract(_roundStartTimeSpan);
return _gameTiming.CurTime.Subtract(_roundStartTimeSpan);
}
private void AnnounceRound()