Files
Bubberstation/code/modules/lighting/lighting_setup.dm
SkyratBot 00519c0c1a [MIRROR] Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good! (#6286)
* Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good!

* Mirror!

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-14 18:43:14 +12:00

15 lines
234 B
Plaintext

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