From 0ffd4e953e307275b7efc92543ad2e92aa92ece7 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 1 Jan 2024 19:16:03 -0500 Subject: [PATCH] Adds current panic bunker status to the server's /status API (#23330) allows the server to advertise its current panic bunker status --- Content.Server/GameTicking/GameTicker.StatusShell.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/GameTicking/GameTicker.StatusShell.cs b/Content.Server/GameTicking/GameTicker.StatusShell.cs index 7d16f2ede2..61173b6f9a 100644 --- a/Content.Server/GameTicking/GameTicker.StatusShell.cs +++ b/Content.Server/GameTicking/GameTicker.StatusShell.cs @@ -43,6 +43,7 @@ namespace Content.Server.GameTicking jObject["round_id"] = _gameTicker.RoundId; jObject["players"] = _playerManager.PlayerCount; jObject["soft_max_players"] = _cfg.GetCVar(CCVars.SoftMaxPlayers); + jObject["panic_bunker"] = _cfg.GetCVar(CCVars.PanicBunkerEnabled); jObject["run_level"] = (int) _runLevel; if (_runLevel >= GameRunLevel.InRound) { -- 2.51.2