Skip to content

Commit

Permalink
whoops, check before declaring var
Browse files Browse the repository at this point in the history
  • Loading branch information
Runian committed Sep 22, 2024
1 parent b19ef66 commit 3e92fe2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,11 @@ GLOBAL_LIST_INIT(acid_spray_hit, typecacheof(list(/obj/structure/barricade, /obj
. = ..()

var/mob/living/carbon/xenomorph/xeno_owner = owner
var/mob/living/carbon/living_target = target_atom
if(!iscarbon(target_atom))
return

var/mob/living/carbon/living_target = target_atom

var/damage = (xeno_owner.xeno_caste.melee_damage * xeno_owner.xeno_melee_damage_modifier)
var/buffed = living_target.has_status_effect(STATUS_EFFECT_DANCER_TAGGED)

Expand Down

0 comments on commit 3e92fe2

Please sign in to comment.