From: Samuka-C <47865393+Samuka-C@users.noreply.github.com> Date: Sun, 21 Sep 2025 21:22:12 +0000 (-0300) Subject: Fool players with status command (#40460) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=29e1f6cddf7d3936dd613bd710da9d36f39603a3;p=space-station-14.git Fool players with status command (#40460) --- diff --git a/Content.Server/GameTicking/GameTicker.StatusShell.cs b/Content.Server/GameTicking/GameTicker.StatusShell.cs index 4d84f78291..3698c91f4e 100644 --- a/Content.Server/GameTicking/GameTicker.StatusShell.cs +++ b/Content.Server/GameTicking/GameTicker.StatusShell.cs @@ -51,7 +51,7 @@ namespace Content.Server.GameTicking jObject["panic_bunker"] = _cfg.GetCVar(CCVars.PanicBunkerEnabled); jObject["run_level"] = (int) _runLevel; if (preset != null) - jObject["preset"] = Loc.GetString(preset.ModeTitle); + jObject["preset"] = (Decoy == null) ? Loc.GetString(preset.ModeTitle) : Loc.GetString(Decoy.ModeTitle); if (_runLevel >= GameRunLevel.InRound) { jObject["round_start_time"] = _roundStartDateTime.ToString("o");