Files
VOREStation/code/modules/lighting/lighting_setup.dm
Aronai Sieyes db14882664 Port tg lighting system
Also converts planet lighting to a new system
Too hard to separate out from this PR
2021-06-17 00:18:09 -04:00

7 lines
302 B
Plaintext

// Create lighting overlays on all turfs with dynamic lighting in areas with dynamic lighting.
/proc/create_all_lighting_objects()
var/list/all_turfs = block(locate(1,1,1), locate(world.maxx, world.maxy, world.maxz))
for(var/turf/T as anything in all_turfs)
T.lighting_build_overlay()
CHECK_TICK