Fix parallax (#2983)

changes:

Parallax now actually moves properly on Move().
Parallax movement can now be toggled as a preference.
Merged all movable/Move() overrides for performance reasons.
This commit is contained in:
Lohikar
2017-07-09 11:35:02 -05:00
committed by skull132
parent 6d69abbd47
commit 2ee49b1b9e
10 changed files with 47 additions and 23 deletions

View File

@@ -110,16 +110,6 @@
if (old_has_opaque_atom != T.has_opaque_atom)
T.reconsider_lights()
/atom/movable/Move()
. = ..()
var/datum/light_source/L
var/thing
for (thing in light_sources)
L = thing
L.source_atom.update_light()
/atom/movable/forceMove()
. = ..()