mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Revert "Shuttle movement immediately updates lighting objects"
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
/turf/proc/onShuttleMove(turf/oldturf)
|
||||
addtimer(CALLBACK(lighting_object, /atom/movable/lighting_object/proc/update), 0)
|
||||
|
||||
/atom/movable/proc/onShuttleMove(turf/T1, rotation)
|
||||
if(rotation)
|
||||
shuttleRotate(rotation)
|
||||
@@ -80,7 +77,3 @@
|
||||
var/oldPY = pixel_y
|
||||
pixel_x = oldPY
|
||||
pixel_y = (oldPX*(-1))
|
||||
|
||||
// Nope nope nope!
|
||||
/atom/movable/lighting_object/onShuttleMove(turf/T1, rotation)
|
||||
return FALSE
|
||||
@@ -503,8 +503,6 @@
|
||||
//move mobile to new location
|
||||
for(var/atom/movable/AM in T0)
|
||||
AM.onShuttleMove(T1, rotation)
|
||||
|
||||
T1.onShuttleMove(T0)
|
||||
|
||||
if(rotation)
|
||||
T1.shuttleRotate(rotation)
|
||||
|
||||
Reference in New Issue
Block a user