From 2f3218dc90b9efdb5160af1b70f1fb69837b4b0f Mon Sep 17 00:00:00 2001 From: Fansana Date: Thu, 4 Jul 2024 05:56:18 +0200 Subject: [PATCH] remove no slotsOpen logic broken rn --- Content.Server/Connection/ConnectionManager.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Content.Server/Connection/ConnectionManager.cs b/Content.Server/Connection/ConnectionManager.cs index 719b4a9c639..27c65de03af 100644 --- a/Content.Server/Connection/ConnectionManager.cs +++ b/Content.Server/Connection/ConnectionManager.cs @@ -200,10 +200,7 @@ private async Task NetMgrOnConnecting(NetConnectingArgs e) var slots = _cfg.GetCVar(CCVars.WhitelistMinPlayers); - var noSlotsOpen = slots > 0 && slots < connectedPlayers - connectedWhitelist; - - if (noSlotsOpen && await _db.GetWhitelistStatusAsync(userId) == false - && adminData is null) + if (await _db.GetWhitelistStatusAsync(userId) == false && adminData is null) { var msg = Loc.GetString(_cfg.GetCVar(CCVars.WhitelistReason));