mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Fixes regression with pulled objects and space transitions (#36587)
* Fixes spesspulling * honk
This commit is contained in:
committed by
ShizCalev
parent
f6361d19a9
commit
27210bdbfd
@@ -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