Fix pre-round Discord ahelps showing incorrect round number (#41060)

Why was there a +1 ???
This commit is contained in:
Pieter-Jan Briers
2025-10-23 16:05:24 +02:00
committed by GitHub
parent 6159801442
commit 043ad94262

View File

@@ -582,7 +582,7 @@ namespace Content.Server.Administration.Systems
{
GameRunLevel.PreRoundLobby => _gameTicker.RoundId == 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.PostRound => $"post-round {_gameTicker.RoundId}",
_ => throw new ArgumentOutOfRangeException(nameof(_gameTicker.RunLevel),