mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 18:13:34 +01:00
Fix for #3549.
This commit is contained in:
@@ -188,7 +188,7 @@ turf/simulated/floor/proc/update_icon()
|
||||
update_icon()
|
||||
if ((!( user.canmove ) || user.restrained() || !( user.pulling )))
|
||||
return
|
||||
if (user.pulling.anchored)
|
||||
if (user.pulling.anchored || !isturf(user.pulling.loc))
|
||||
return
|
||||
if ((user.pulling.loc != user.loc && get_dist(user, user.pulling) > 1))
|
||||
return
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/turf/space/attack_hand(mob/user as mob)
|
||||
if ((user.restrained() || !( user.pulling )))
|
||||
return
|
||||
if (user.pulling.anchored)
|
||||
if (user.pulling.anchored || !isturf(user.pulling.loc))
|
||||
return
|
||||
if ((user.pulling.loc != user.loc && get_dist(user, user.pulling) > 1))
|
||||
return
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/turf/unsimulated/floor/attack_hand(var/mob/user as mob)
|
||||
if ((!( user.canmove ) || user.restrained() || !( user.pulling )))
|
||||
return
|
||||
if (user.pulling.anchored)
|
||||
if (user.pulling.anchored || !isturf(user.pulling.loc))
|
||||
return
|
||||
if ((user.pulling.loc != user.loc && get_dist(user, user.pulling) > 1))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user