Files
Bubberstation/code/modules/lighting/lighting_setup.dm
Gandalf 8eb1a428f3 Revert "Revert "[MIRROR] Refactor area and turf lighting"" (#8063)
* Revert "Revert "[MIRROR] Refactor area and turf lighting (#7775)" (#7902)"

This reverts commit 64c4c52d12.

* This should probably fix it

* I love linters

Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-09-10 19:01:18 -04:00

13 lines
216 B
Plaintext

/proc/create_all_lighting_objects()
for(var/area/A in world)
if(!A.static_lighting)
continue
for(var/turf/T in A)
if(T.always_lit)
continue
new/datum/lighting_object(T)
CHECK_TICK
CHECK_TICK