From: deathride58 Date: Tue, 2 Jan 2024 00:16:03 +0000 (-0500) Subject: Adds current panic bunker status to the server's /status API (#23330) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0ffd4e953e307275b7efc92543ad2e92aa92ece7;p=space-station-14.git Adds current panic bunker status to the server's /status API (#23330) allows the server to advertise its current panic bunker status --- 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) {