Skip to content

Commit

Permalink
lunge message display tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
X0-11 committed Jun 17, 2023
1 parent a3f74eb commit 2373fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/halo/weapons/_lunging.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/obj/item/afterattack(var/atom/target,var/mob/user)
. = ..()
if(get_lunge_dist(user) == 0 || user.loc.Adjacent(target) || istype(user.loc,/obj/vehicles))
if(get_lunge_dist(user) == 0 || user.Adjacent(get_turf(target)) || istype(user.loc,/obj/vehicles))
return
if(world.time < next_leapwhen)
to_chat(user,"<span class = 'notice'>You're still recovering from the last lunge!</span>")
Expand Down

0 comments on commit 2373fc2

Please sign in to comment.