mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Shuttle refactor (#2171)
Rewrites the area movement code used by shuttles & elevators in an effort to make it faster, more extensible, and generally easier to read. Also fixes some bugs relating to lighting & moving areas, such as lighting overlays suddenly being teleported into space for absolutely no reason. Fixes #2161. Fixes #2166.
This commit is contained in:
@@ -101,9 +101,6 @@ var/global/list/turbolifts = list()
|
||||
|
||||
origin.move_contents_to(destination)
|
||||
|
||||
if((locate(/obj/machinery/power) in destination) || (locate(/obj/structure/cable) in destination))
|
||||
makepowernets()
|
||||
|
||||
current_floor = next_floor
|
||||
control_panel_interior.visible_message("The elevator [moving_upwards ? "rises" : "descends"] smoothly.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user