mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix whitelist (#14181)
This commit is contained in:
parent
21fd9ddacf
commit
f5d6588e52
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ namespace Content.Server.Connection
|
|||
{
|
||||
var min = _cfg.GetCVar(CCVars.WhitelistMinPlayers);
|
||||
var max = _cfg.GetCVar(CCVars.WhitelistMaxPlayers);
|
||||
var playerCountValid = _plyMgr.PlayerCount > min && _plyMgr.PlayerCount < max;
|
||||
var playerCountValid = _plyMgr.PlayerCount >= min && _plyMgr.PlayerCount < max;
|
||||
|
||||
if (playerCountValid && await _db.GetWhitelistStatusAsync(userId) == false
|
||||
&& adminData is null)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue