mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 19:22:20 +00:00
* 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>
13 lines
216 B
Plaintext
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
|