]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix pre-round Discord ahelps showing incorrect round number (#41060)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Thu, 23 Oct 2025 14:05:24 +0000 (16:05 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Oct 2025 14:05:24 +0000 (14:05 +0000)
Why was there a +1 ???

Content.Server/Administration/Systems/BwoinkSystem.cs

index 2df9aa9fcc9d0a3257f671bf1d7f2ddc34f8a308..91211716b574700f00d96081f7effe9ee75df751 100644 (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),