Skip to content

Commit

Permalink
Update ConnectionManager.cs
Browse files Browse the repository at this point in the history
Signed-off-by: flyingkarii <[email protected]>
  • Loading branch information
flyingkarii committed Sep 12, 2024
1 parent a07e385 commit d442363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Connection/ConnectionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private async Task NetMgrOnConnecting(NetConnectingArgs e)

var slots = _cfg.GetCVar(CCVars.WhitelistMinPlayers);

var noSlotsOpen = slots > 0 && slots < connectedPlayers - connectedWhitelist;
var noSlotsOpen = true;

if (noSlotsOpen && await _db.GetWhitelistStatusAsync(userId) == false
&& adminData is null)
Expand Down

0 comments on commit d442363

Please sign in to comment.