mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
@@ -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
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
M.inertia_dir = 0
|
||||
return
|
||||
spawn(5)
|
||||
if((M && !(M.anchored) && (M.loc == src)))
|
||||
if((M && !(M.anchored) && !(M.pulledby) && (M.loc == src)))
|
||||
if(M.inertia_dir)
|
||||
step(M, M.inertia_dir)
|
||||
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