Skip to content

Commit

Permalink
better logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben10083 committed Jul 15, 2023
1 parent 37beb2c commit dd12bd1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dd12bd1

Please sign in to comment.