From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 25 Feb 2024 22:48:54 +0000 (+1100) Subject: Panic bunker fix (#25538) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b26acc95475a9ae2000fddcfb2bee7d058b4122c;p=space-station-14.git Panic bunker fix (#25538) * Panic bunker fix I admin * tired --- diff --git a/Content.Server/Connection/ConnectionManager.cs b/Content.Server/Connection/ConnectionManager.cs index f0dd87e2bd..2fbc6f2359 100644 --- a/Content.Server/Connection/ConnectionManager.cs +++ b/Content.Server/Connection/ConnectionManager.cs @@ -106,7 +106,7 @@ namespace Content.Server.Connection var adminData = await _dbManager.GetAdminDataForAsync(e.UserId); - if (_cfg.GetCVar(CCVars.PanicBunkerEnabled)) + if (_cfg.GetCVar(CCVars.PanicBunkerEnabled) && adminData == null) { var showReason = _cfg.GetCVar(CCVars.PanicBunkerShowReason); var customReason = _cfg.GetCVar(CCVars.PanicBunkerCustomReason);