Revert "Shuttle movement immediately updates lighting objects"

This commit is contained in:
Cyberboss
2017-04-13 18:56:08 -04:00
committed by GitHub
parent 40b8f011fe
commit 7b9282cb07
3 changed files with 4 additions and 9 deletions
-7
View File
@@ -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
-2
View File
@@ -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)