Skip to content

Commit

Permalink
melee fix
Browse files Browse the repository at this point in the history
  • Loading branch information
X0-11 committed Feb 1, 2024
1 parent 3a33f52 commit ed366ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/halo/misc/melee_strikes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
. = ..()

/obj/item/proc/has_melee_strike(var/mob/user)
if(isnull(melee_strikes))
if(isnull(melee_strikes) || melee_strikes.len == 0)
return null
if(isnull(melee_strike))
melee_strike = melee_strikes[1]
if(!isnull(melee_strike))
melee_strike.strike_active(user)

return melee_strike
return 1

/obj/item/proc/verb_swap_stances()
set name = "Swap Stances"
Expand Down

0 comments on commit ed366ca

Please sign in to comment.