Skip to content

Commit

Permalink
removes dir
Browse files Browse the repository at this point in the history
  • Loading branch information
InsaneRed committed Jun 21, 2024
1 parent a8dc209 commit ca631be
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@
playsound(hit_target,'sound/weapons/alien_tail_attack.ogg', 50, TRUE)

var/direction = Get_Compass_Dir(xeno, targeted_atom) //More precise than get_dir.
if(!direction) //Same tile.
return

if(!step(hit_target, direction))
playsound(hit_target.loc, "punch", 25, 1)
hit_target.visible_message(SPAN_DANGER("[hit_target] slams into an obstacle!"),
Expand Down

0 comments on commit ca631be

Please sign in to comment.