From b26acc95475a9ae2000fddcfb2bee7d058b4122c Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 26 Feb 2024 09:48:54 +1100 Subject: [PATCH] Panic bunker fix (#25538) * Panic bunker fix I admin * tired --- Content.Server/Connection/ConnectionManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.52.0