Skip to content

Commit

Permalink
Update code/datums/components/xeno/ai_behavior_overrides/capture_over…
Browse files Browse the repository at this point in the history
…ride_behavior.dm

Co-authored-by: Doubleumc <[email protected]>
  • Loading branch information
Merrgear and Doubleumc authored Aug 6, 2024
1 parent ce66bc1 commit d0b5eb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
if(distance > 10)
return FALSE

if(captee_stat == CONSCIOUS && !(parent_mob.body_position == LYING_DOWN && HAS_TRAIT(parent_mob, TRAIT_INCAPACITATED)))
if(captee_stat == CONSCIOUS && !(locate(/datum/effects/crit) in parent_mob.effects_list))
return FALSE

if(isxeno(pulledby) && pulledby != checked_xeno)
Expand Down

0 comments on commit d0b5eb9

Please sign in to comment.