Merge pull request #31588 from ninjanomnom/shuttle-parallax

Fixes stationary mob parallax
This commit is contained in:
Jordan Brown
2017-10-12 17:06:05 -04:00
committed by CitadelStationBot
parent 06061f0870
commit 7ef36802ff
+3 -2
View File
@@ -85,14 +85,15 @@ All ShuttleMove procs go here
if(rotation)
shuttleRotate(rotation) //see shuttle_rotate.dm
loc = newT
if(length(client_mobs_in_contents))
update_parallax_contents()
return TRUE
// Called on atoms after everything has been moved
/atom/movable/proc/afterShuttleMove(list/movement_force, shuttle_dir, shuttle_preferred_direction, move_dir)
if(light)
update_light()
update_parallax_contents()
return TRUE
/////////////////////////////////////////////////////////////////////////////////////