Incorrect math resulting in false negative
Webedit ops Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>
This commit is contained in:
parent
460effb592
commit
4e080593aa
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue