Skip to content

Commit

Permalink
woops! .stat moment
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 29, 2023
1 parent 413039e commit 6763d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/xenomorph/ai/xeno_ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6763d8c

Please sign in to comment.