Skip to content

Commit

Permalink
check target uses correct function
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 15, 2023
1 parent 27bc14c commit 361ec75
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 @@ -320,7 +320,7 @@
if(HAS_TRAIT(checked_human, TRAIT_NESTED))
return FALSE

if(FACTION_XENOMORPH in checked_human.faction_group)
if(can_not_harm(checked_human))
return FALSE

if(checked_human.stat != CONSCIOUS)
Expand Down

0 comments on commit 361ec75

Please sign in to comment.