From dd12bd171258f0056a45bb93451589c55b0fbc34 Mon Sep 17 00:00:00 2001 From: Ben10083 Date: Sat, 15 Jul 2023 16:55:38 -0400 Subject: [PATCH] better logic --- .../mob/living/carbon/xenomorph/mutators/behavior_delegate.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/mutators/behavior_delegate.dm b/code/modules/mob/living/carbon/xenomorph/mutators/behavior_delegate.dm index 4f5076a3f2d5..eb74282f6bcd 100644 --- a/code/modules/mob/living/carbon/xenomorph/mutators/behavior_delegate.dm +++ b/code/modules/mob/living/carbon/xenomorph/mutators/behavior_delegate.dm @@ -66,9 +66,7 @@ /datum/behavior_delegate/proc/melee_attack_additional_effects_self() SEND_SIGNAL(bound_xeno, COMSIG_XENO_SLASH_ADDITIONAL_EFFECTS_SELF) var/datum/action/xeno_action/onclick/xenohide/hide = get_xeno_action_by_type(bound_xeno, /datum/action/xeno_action/onclick/xenohide) - if(!hide || bound_xeno.layer != XENO_HIDING_LAYER) //if not hiding or have hide ability - return - else + if(hide) hide.post_attack() // Identical to the above 3 procs but for ranged attacks.