From 6763d8c57bc0b016145dbcd9e4cbe9c36d9f53ad Mon Sep 17 00:00:00 2001 From: Morrow Date: Sat, 28 Oct 2023 21:36:49 -0400 Subject: [PATCH] woops! .stat moment --- code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm b/code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm index 8ffe258ca7..d0dedab470 100644 --- a/code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm +++ b/code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm @@ -67,7 +67,7 @@ GLOBAL_LIST_INIT(ai_target_limbs, list( var/stat_check = FALSE if(istype(current_target, /mob)) var/mob/current_target_mob = current_target - stat_check = (current_target_mob != CONSCIOUS) + stat_check = (current_target_mob.stat != CONSCIOUS) if(QDELETED(current_target) || stat_check || get_dist(current_target, src) > ai_range) current_target = get_target(ai_range)