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 c81f9de1ac
commit 2c13bee848
15 changed files with 20 additions and 23 deletions

View File

@@ -341,7 +341,7 @@
var/list/areas_with_intercom = list()
var/list/areas_with_camera = list()
for(var/area/A in all_areas)
for(var/area/A in world)
if(!(A.type in areas_all))
areas_all.Add(A.type)