Fix pulling things across space transitions (#33689)

This commit is contained in:
Tad Hardesty
2017-12-20 22:33:54 -08:00
committed by CitadelStationBot
parent 408cf32ddc
commit 30fb3f8f5c
+4 -2
View File
@@ -139,9 +139,11 @@
if(isliving(A))
var/mob/living/L = A
if(L.pulling)
var/atom/movable/AM = L.pulling
if(AM)
var/turf/T = get_step(L.loc,turn(A.dir, 180))
L.pulling.forceMove(T)
AM.forceMove(T)
L.start_pulling(AM)
//now we're on the new z_level, proceed the space drifting
stoplag()//Let a diagonal move finish, if necessary