mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +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:
@@ -18,12 +18,6 @@ var/datum/observ/moved/moved_event = new()
|
||||
* Movement Handling *
|
||||
********************/
|
||||
|
||||
/atom/movable/Move()
|
||||
var/old_loc = loc
|
||||
. = ..()
|
||||
if(.)
|
||||
moved_event.raise_event(src, old_loc, loc)
|
||||
|
||||
/atom/movable/proc/move_to_destination(var/atom/movable/am, var/old_loc, var/new_loc)
|
||||
var/turf/T = get_turf(new_loc)
|
||||
if(T && T != loc)
|
||||
|
||||
Reference in New Issue
Block a user