Fix pre-round Discord ahelps showing incorrect round number (#41060)
Why was there a +1 ???
This commit is contained in:
committed by
GitHub
parent
6159801442
commit
043ad94262
@@ -582,7 +582,7 @@ namespace Content.Server.Administration.Systems
|
|||||||
{
|
{
|
||||||
GameRunLevel.PreRoundLobby => _gameTicker.RoundId == 0
|
GameRunLevel.PreRoundLobby => _gameTicker.RoundId == 0
|
||||||
? "pre-round lobby after server restart" // first round after server restart has ID == 0
|
? "pre-round lobby after server restart" // first round after server restart has ID == 0
|
||||||
: $"pre-round lobby for round {_gameTicker.RoundId + 1}",
|
: $"pre-round lobby for round {_gameTicker.RoundId}",
|
||||||
GameRunLevel.InRound => $"round {_gameTicker.RoundId}",
|
GameRunLevel.InRound => $"round {_gameTicker.RoundId}",
|
||||||
GameRunLevel.PostRound => $"post-round {_gameTicker.RoundId}",
|
GameRunLevel.PostRound => $"post-round {_gameTicker.RoundId}",
|
||||||
_ => throw new ArgumentOutOfRangeException(nameof(_gameTicker.RunLevel),
|
_ => throw new ArgumentOutOfRangeException(nameof(_gameTicker.RunLevel),
|
||||||
|
|||||||
Reference in New Issue
Block a user