mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-10 00:07:27 +00:00
Incorrect math resulting in false negative
Webedit ops Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>
This commit is contained in:
@@ -199,7 +199,7 @@ namespace Content.Server.Connection
|
||||
|
||||
var slots = _cfg.GetCVar(CCVars.WhitelistMinPlayers);
|
||||
|
||||
var nonWhitelistAllowed = slots > 0 && slots < connectedPlayers - connectedWhitelist;
|
||||
var nonWhitelistAllowed = slots > 0 && slots > connectedPlayers - connectedWhitelist;
|
||||
|
||||
if (nonWhitelistAllowed && await _db.GetWhitelistStatusAsync(userId) == false
|
||||
&& adminData is null)
|
||||
|
||||
Reference in New Issue
Block a user