Skip to content

Commit

Permalink
и
Browse files Browse the repository at this point in the history
и
  • Loading branch information
AmShegars committed Dec 9, 2023
1 parent 2ccd0a1 commit 26ca0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mechs/mech_interaction.dm
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
setClickCooldown(arms ? arms.action_delay : 7)
src.visible_message(SPAN_DANGER(" [src] steps back, preparing for a punch!"), blind_message = SPAN_DANGER("You hear the loud hissing of hydraulics!"))
playsound(src.loc, mech_step_sound, 60, 1)
var/PAST = A.loc
var/PAST = A.loc //[INF] Данная пермена нужна для проверки, осталась ли цель на месте атаки
if(do_after(src, 1.2 SECONDS, get_turf(src),DO_DEFAULT|DO_USER_UNIQUE_ACT|DO_PUBLIC_PROGRESS) && user)
if(PAST!=A.loc)
src.visible_message(SPAN_DANGER(" [src] misses with his attack!"))
Expand Down

0 comments on commit 26ca0ea

Please sign in to comment.