mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
Speed up mapload significantly
Co-authored-by: Aronai Sieyes <arokha@arokha.com>
This commit is contained in:
committed by
Aronai Sieyes
co-authored by
Aronai Sieyes
parent
9250685a06
commit
2e23dcdb49
@@ -65,11 +65,11 @@ In short:
|
||||
for(var/datum/lighting_corner/L in world)
|
||||
L.update_lumcount(1, 0, 0)
|
||||
|
||||
for(var/turf/space/T in turfs)
|
||||
for(var/turf/space/T in world)
|
||||
OnTurfChange(T)
|
||||
|
||||
/datum/universal_state/hell/proc/MiscSet()
|
||||
for(var/turf/simulated/floor/T in turfs)
|
||||
for(var/turf/simulated/floor/T in world)
|
||||
if(!T.holy && prob(1))
|
||||
new /obj/effect/gateway/active/cult(T)
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
var/next_check=0
|
||||
var/list/avail_dirs = list(NORTH,SOUTH,EAST,WEST)
|
||||
|
||||
/turf/unsimulated/wall/supermatter/New()
|
||||
..()
|
||||
/turf/unsimulated/wall/supermatter/Initialize(mapload)
|
||||
. = ..()
|
||||
START_PROCESSING(SSturfs, src)
|
||||
next_check = world.time+5 SECONDS
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ The access requirements on the Asteroid Shuttles' consoles have now been revoked
|
||||
else
|
||||
L.update_lumcount(0.0, 0.4, 1)
|
||||
|
||||
for(var/turf/space/T in turfs)
|
||||
for(var/turf/space/T in world)
|
||||
OnTurfChange(T)
|
||||
|
||||
/datum/universal_state/supermatter_cascade/proc/MiscSet()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
var/list/pick_turfs = list()
|
||||
var/list/Z_choices = list()
|
||||
Z_choices |= using_map.get_map_levels(1, FALSE)
|
||||
for(var/turf/simulated/floor/T in turfs)
|
||||
for(var/turf/simulated/floor/T in world)
|
||||
if(T.z in Z_choices)
|
||||
if(!T.block_tele)
|
||||
pick_turfs += T
|
||||
|
||||
Reference in New Issue
Block a user