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:
committed by
CitadelStationBot
parent
9f7b3a11c3
commit
3757be6ce2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user