mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Fixes datum/turbolift-based elevators (#22697)
Still not sure how this became a bug, but this test change fixed it for local server in Lemurian Sea sectors.
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
|
||||
doors_closing = 0 // The doors weren't open, so they are done closing
|
||||
|
||||
var/area/turbolift/origin = locate(current_floor.area_ref) in get_sorted_areas()
|
||||
var/area/turbolift/origin = locate(current_floor.area_ref)
|
||||
|
||||
if(target_floor == current_floor)
|
||||
playsound(control_panel_interior.loc, origin.arrival_sound, 50, 1)
|
||||
@@ -86,7 +86,7 @@
|
||||
else
|
||||
next_floor = floors[current_floor_index - 1]
|
||||
|
||||
var/area/turbolift/destination = locate(next_floor.area_ref) in get_sorted_areas()
|
||||
var/area/turbolift/destination = locate(next_floor.area_ref)
|
||||
|
||||
if(!istype(origin) || !istype(destination) || (origin == destination))
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user