diff --git a/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm b/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm index e82a001883..dac2e15435 100644 --- a/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm +++ b/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm @@ -17,11 +17,11 @@ /datum/objective/crew/quartermaster/petsplosion/check_completion() var/petcount = target_amount for(var/mob/living/simple_animal/pet/P in GLOB.mob_list) - !(P.stat == DEAD) + if(!(P.stat == DEAD)) if(P.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(P)]) petcount-- for(var/mob/living/carbon/human/H in GLOB.mob_list) - !(H.stat == DEAD) + if(!(H.stat == DEAD)) if(H.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(H)]) if(istype(H.wear_neck, /obj/item/clothing/neck/petcollar)) petcount-- @@ -47,11 +47,11 @@ /datum/objective/crew/cargotechnician/petsplosion/check_completion() var/petcount = target_amount for(var/mob/living/simple_animal/pet/P in GLOB.mob_list) - !(P.stat == DEAD) + if(!(P.stat == DEAD)) if(P.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(P)]) petcount-- for(var/mob/living/carbon/human/H in GLOB.mob_list) - !(H.stat == DEAD) + if(!(H.stat == DEAD)) if(H.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(H)]) if(istype(H.wear_neck, /obj/item/clothing/neck/petcollar)) petcount-- @@ -67,6 +67,6 @@ /datum/objective/crew/shaftminer/bubblegum/check_completion() for(var/mob/living/simple_animal/hostile/megafauna/bubblegum/B in GLOB.mob_list) - !(B.stat == DEAD) + if(!(B.stat == DEAD)) return FALSE return TRUE diff --git a/code/citadel/crew_objectives/cit_crewobjectives_science.dm b/code/citadel/crew_objectives/cit_crewobjectives_science.dm index 5f7d6cbf7f..552414746f 100644 --- a/code/citadel/crew_objectives/cit_crewobjectives_science.dm +++ b/code/citadel/crew_objectives/cit_crewobjectives_science.dm @@ -17,7 +17,7 @@ /datum/objective/crew/researchdirector/cyborgs/check_completion() var/borgcount = target_amount for(var/mob/living/silicon/robot/R in GLOB.living_mob_list) - !(R.stat == DEAD) + if(!(R.stat == DEAD)) borgcount-- if(borgcount <= 0) return TRUE @@ -41,7 +41,7 @@ /datum/objective/crew/roboticist/cyborgs/check_completion() var/borgcount = target_amount for(var/mob/living/silicon/robot/R in GLOB.living_mob_list) - !(R.stat == DEAD) + if(!(R.stat == DEAD)) borgcount-- if(borgcount <= 0) return TRUE