Skip to content

Commit

Permalink
Merge pull request #3528 from X0-11/melee-fix
Browse files Browse the repository at this point in the history
Melee fix
  • Loading branch information
BDpuffy420 authored Feb 2, 2024
2 parents 3a33f52 + 1d8c60a commit b3b9afd
Show file tree
Hide file tree
Showing 25 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 b3b9afd

Please sign in to comment.