Fool players with status command (#40460)

This commit is contained in:
Samuka-C
2025-09-21 18:22:12 -03:00
committed by GitHub
parent 08c1b2c9be
commit 29e1f6cddf

View File

@@ -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");