This commit is contained in:
Ty-Omaha
2020-04-24 13:54:24 -04:00
committed by GitHub
parent c97dc0e584
commit a9bcea83aa
+3 -3
View File
@@ -155,12 +155,12 @@
/datum/game_mode/cult/proc/get_possible_sac_targets()
var/list/possible_sac_targets = list()
for(var/mob/living/carbon/human/player in GLOB.player_list)
if(player.mind && !is_convertable_to_cult(player.mind) && (player.stat != DEAD) && (player.mind.offstation_role != TRUE) )
if(player.mind && !is_convertable_to_cult(player.mind) && (player.stat != DEAD) && (!player.mind.offstation_role) )
possible_sac_targets += player.mind
if(!possible_sac_targets.len)
//There are no living Unconvertables on the station. Looking for a Sacrifice Target among the ordinary crewmembers
for(var/mob/living/carbon/human/player in GLOB.player_list)
if(is_secure_level(player.z) || player.mind.offstation_role == TRUE) //We can't sacrifice people that are on the centcom z-level or offstation roles
if(is_secure_level(player.z) || player.mind.offstation_role) //We can't sacrifice people that are on the centcom z-level or offstation roles
continue
if(player.mind && !(player.mind in cult) && (player.stat != DEAD))//make DAMN sure they are not dead
possible_sac_targets += player.mind
@@ -266,4 +266,4 @@
if(is_station_level(T.z)) //we're only interested in the remaining humans on the station
survivors++
if(survivors < massacre_target)
bonus = 1
bonus = 1