Adds current panic bunker status to the server's /status API (#23330)
allows the server to advertise its current panic bunker status
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user