Makes reverse pulling only apply to dense objects (#33024)

* Makes reverse pulling only apply to dense objects

* CACHE CACHE CACHE!
This commit is contained in:
MoreRobustThanYou
2017-11-24 05:50:20 -05:00
committed by CitadelStationBot
parent 9f7b3a11c3
commit 3757be6ce2
+3 -2
View File
@@ -186,8 +186,9 @@
if(LAZYLEN(mob.user_movement_hooks))
for(var/obj/O in mob.user_movement_hooks)
O.intercept_user_move(direct, mob, n, oldloc)
if(mob.pulling && !ismob(mob.pulling))
var/atom/movable/P = mob.pulling
if(P && !ismob(P) && P.density)
mob.dir = turn(mob.dir, 180)
/mob/Moved(oldLoc, dir, Forced = FALSE)