[MIRROR] Fixes regression with pulled objects and space transitions (#6065)
* Fixes regression with pulled objects and space transitions (#36587) * Fixes spesspulling * honk * Fixes regression with pulled objects and space transitions
This commit is contained in:
committed by
Poojawa
parent
b283c5f07a
commit
30e5e7a56a
@@ -150,15 +150,13 @@
|
||||
else
|
||||
ty--
|
||||
DT = locate(tx, ty, destination_z)
|
||||
A.forceMove(DT)
|
||||
|
||||
if(isliving(A))
|
||||
var/mob/living/L = A
|
||||
var/atom/movable/AM = L.pulling
|
||||
if(AM)
|
||||
var/turf/T = get_step(L.loc,turn(A.dir, 180))
|
||||
AM.forceMove(T)
|
||||
L.start_pulling(AM)
|
||||
var/atom/movable/AM = A.pulling
|
||||
A.forceMove(DT)
|
||||
if(AM)
|
||||
var/turf/T = get_step(A.loc,turn(A.dir, 180))
|
||||
AM.forceMove(T)
|
||||
A.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