mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
fixes some dynamic rulesets purging their candidate pools (#87760)
## About The Pull Request autotator, malf and blob's candidates would all get wiped out by this, as `can_roll_midround()` returns TRUE if they can roll midround ## Why It's Good For The Game seems like we want candidates in these roles, given the game is trying to get some ## Changelog 🆑 fix: dynamic rulesets can get candidates for their roles /🆑 fixes #87535
This commit is contained in:
@@ -261,7 +261,7 @@
|
||||
candidates -= player
|
||||
else if(is_centcom_level(player.z))
|
||||
candidates -= player // We don't autotator people in CentCom
|
||||
else if(player.mind && (player.mind.special_role || player.mind.can_roll_midround()))
|
||||
else if(player.mind && (player.mind.special_role || !player.mind.can_roll_midround()))
|
||||
candidates -= player // We don't autotator people with roles already
|
||||
|
||||
/datum/dynamic_ruleset/midround/from_living/autotraitor/execute()
|
||||
@@ -310,7 +310,7 @@
|
||||
continue
|
||||
if(isnull(player.mind))
|
||||
continue
|
||||
if(player.mind.special_role || player.mind.can_roll_midround())
|
||||
if(player.mind.special_role || !player.mind.can_roll_midround())
|
||||
continue
|
||||
candidates += player
|
||||
|
||||
@@ -479,7 +479,7 @@
|
||||
candidates -= player
|
||||
continue
|
||||
|
||||
if(player.mind && (player.mind.special_role || player.mind.can_roll_midround()))
|
||||
if(player.mind && (player.mind.special_role || !player.mind.can_roll_midround()))
|
||||
candidates -= player
|
||||
|
||||
/datum/dynamic_ruleset/midround/from_living/blob_infection/execute()
|
||||
|
||||
Reference in New Issue
Block a user