Merge pull request #4105 from Citadel-Station-13/upstream-merge-33024

[MIRROR] Makes reverse pulling only apply to dense objects
This commit is contained in:
deathride58
2017-11-24 23:13:28 +00:00
committed by GitHub
+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)