Fool players with status command (#40460)
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Content.Server.GameTicking
|
|||||||
jObject["panic_bunker"] = _cfg.GetCVar(CCVars.PanicBunkerEnabled);
|
jObject["panic_bunker"] = _cfg.GetCVar(CCVars.PanicBunkerEnabled);
|
||||||
jObject["run_level"] = (int) _runLevel;
|
jObject["run_level"] = (int) _runLevel;
|
||||||
if (preset != null)
|
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)
|
if (_runLevel >= GameRunLevel.InRound)
|
||||||
{
|
{
|
||||||
jObject["round_start_time"] = _roundStartDateTime.ToString("o");
|
jObject["round_start_time"] = _roundStartDateTime.ToString("o");
|
||||||
|
|||||||
Reference in New Issue
Block a user