mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-17 13:12:37 +00:00
* 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>
15 lines
234 B
Plaintext
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
|