mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
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:
@@ -26,12 +26,6 @@
|
||||
. = ..()
|
||||
QDEL_NULL(bound_overlay)
|
||||
|
||||
/atom/movable/Move()
|
||||
. = ..()
|
||||
if (bound_overlay)
|
||||
// The overlay will handle cleaning itself up on non-openspace turfs.
|
||||
bound_overlay.forceMove(get_step(src, UP))
|
||||
|
||||
/atom/movable/forceMove(atom/dest)
|
||||
. = ..(dest)
|
||||
if (bound_overlay)
|
||||
|
||||
Reference in New Issue
Block a user