mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Areas and station areas work (#20195)
Refactored sorting. Added test to verify all horizon areas (outside exceptions) are marked as station areas. Added test to verify shuttle areas are not marked as station areas. Refactored how the area sorting var is made and used. Added a global list of all areas.
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
if(href_list["setarea"])
|
||||
if(!call_area_names)
|
||||
call_area_names = list()
|
||||
for(var/area/A as anything in GLOB.all_areas)
|
||||
for(var/area/A as anything in get_sorted_areas())
|
||||
if(A.station_area)
|
||||
call_area_names += A.name
|
||||
//Probably should consider using another list, but this one will do.
|
||||
|
||||
Reference in New Issue
Block a user