mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
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:
@@ -15,7 +15,7 @@
|
||||
|
||||
/datum/event/gravity/start()
|
||||
gravity_is_on = 0
|
||||
for(var/area/A in all_areas)
|
||||
for(var/area/A in world)
|
||||
if(A.z in zLevels)
|
||||
A.gravitychange(gravity_is_on)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
if(!gravity_is_on)
|
||||
gravity_is_on = 1
|
||||
|
||||
for(var/area/A in all_areas)
|
||||
for(var/area/A in world)
|
||||
if(A.z in zLevels)
|
||||
A.gravitychange(gravity_is_on)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user