Refined Test Areas (Station Z) debug output (#2321)
This commit is contained in:
committed by
kevinz000
parent
53fb24ee7c
commit
e6650e6f35
@@ -505,12 +505,13 @@ GLOBAL_PROTECT(AdminProcCallCount)
|
||||
var/list/areas_with_LS = list()
|
||||
var/list/areas_with_intercom = list()
|
||||
var/list/areas_with_camera = list()
|
||||
var/list/station_areas_blacklist = typecacheof(list(/area/holodeck/rec_center, /area/shuttle, /area/engine/supermatter, /area/science/test_area, /area/space, /area/solar, /area/mine, /area/ruin))
|
||||
|
||||
for(var/area/A in world)
|
||||
if(on_station)
|
||||
var/turf/picked = safepick(get_area_turfs(A.type))
|
||||
if(picked && (picked.z == ZLEVEL_STATION))
|
||||
if(!(A.type in areas_all))
|
||||
if(!(A.type in areas_all) && !is_type_in_typecache(A, station_areas_blacklist))
|
||||
areas_all.Add(A.type)
|
||||
else if(!(A.type in areas_all))
|
||||
areas_all.Add(A.type)
|
||||
|
||||
Reference in New Issue
Block a user