mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
Exempts current players from the extreme pop cap
This will exempt anybody who was once joined into the round, this means people who were assigned at round start or latejoined. even if they died, got gibbed, suicided, or ghosted. This does not exempt people who observed from lobby.
This commit is contained in:
committed by
GitHub
parent
e75dc5e121
commit
799d45af99
@@ -61,7 +61,7 @@
|
||||
hard_popcap = 0
|
||||
popcap_value = GLOB.clients.len
|
||||
|
||||
if(popcap_value >= extreme_popcap && (!hard_popcap || living_player_count() >= hard_popcap))
|
||||
if(popcap_value >= extreme_popcap && (!hard_popcap || living_player_count() >= hard_popcap) && !joined_player_list.Find(ckey))
|
||||
log_access("Failed Login: [key] - Population cap reached")
|
||||
return list("reason"="popcap", "desc"= "\nReason: [CONFIG_GET(string/extreme_popcap_message)]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user