diff --git a/code/game/gamemodes/dynamic/dynamic_rulesets.dm b/code/game/gamemodes/dynamic/dynamic_rulesets.dm index 644aa656919..6d692016747 100644 --- a/code/game/gamemodes/dynamic/dynamic_rulesets.dm +++ b/code/game/gamemodes/dynamic/dynamic_rulesets.dm @@ -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