From eedf8eb101d274fdd74512c3c508da70dc766e7a Mon Sep 17 00:00:00 2001 From: deathride58 Date: Thu, 11 Jan 2018 20:19:09 -0500 Subject: [PATCH] Update cit_objectives.dm --- code/game/gamemodes/cit_objectives.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/cit_objectives.dm b/code/game/gamemodes/cit_objectives.dm index 76a23a581e..fbcfc675e3 100644 --- a/code/game/gamemodes/cit_objectives.dm +++ b/code/game/gamemodes/cit_objectives.dm @@ -98,7 +98,7 @@ for(var/mob/living/carbon/C in GLOB.mob_list) var/mob/living/simple_animal/borer/D = C.has_brain_worms() var/turf/location = get_turf(C) - if(is_centcom_level(z) && D && D.stat != DEAD) + if(is_centcom_level(location.z) && D && D.stat != DEAD) total_borer_hosts++ if(target_amount <= total_borer_hosts) return TRUE