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:
harryob
2024-11-09 16:57:45 +01:00
committed by GitHub
parent ab1d7466bb
commit 30345725d2
@@ -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()