mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Dynamic can no longer creates malf AI humans 2: Electric Boogaloo (#59765)
* Update dynamic_rulesets.dm * spacing is cool guys
This commit is contained in:
@@ -218,11 +218,11 @@
|
||||
continue
|
||||
|
||||
// If this ruleset has exclusive_roles set, we want to only consider players who have those
|
||||
// job prefs enabled and aren't role banned from that job. Otherwise, continue as before.
|
||||
// job prefs enabled and are eligible to play that job. Otherwise, continue as before.
|
||||
if(length(exclusive_roles))
|
||||
var/exclusive_candidate = FALSE
|
||||
for(var/role in exclusive_roles)
|
||||
if((role in candidate_client.prefs.job_preferences) && !is_banned_from(candidate_player.ckey, role))
|
||||
if((role in candidate_client.prefs.job_preferences) && !is_banned_from(candidate_player.ckey, role) && !job_is_xp_locked(candidate_player.ckey, role))
|
||||
exclusive_candidate = TRUE
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user