Fix pulling things across space transitions (#33689)
This commit is contained in:
committed by
CitadelStationBot
parent
408cf32ddc
commit
30fb3f8f5c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user