Replace global all_areas list with world.

It ends up having similar performance, so might as well not bother with all_areas.
This commit is contained in:
Leshana
2020-04-05 18:01:29 -04:00
parent 859036b7cd
commit 262faa38e4
17 changed files with 23 additions and 26 deletions

View File

@@ -41,7 +41,7 @@
var/list/zs_to_test = using_map.unit_test_z_levels || list(1) //Either you set it, or you just get z1
for(var/area/A in all_areas)
for(var/area/A in world)
if((A.z in zs_to_test) && !(A.type in exempt_areas))
area_test_count++
var/area_good = 1