mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 12:11:45 +00:00
* Micros the lighting subsystem (Saves a second of init) * Update stat_tracking.dm Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
14 lines
294 B
Plaintext
14 lines
294 B
Plaintext
|
|
/proc/create_all_lighting_objects()
|
|
for(var/area/A in world)
|
|
if(!A.static_lighting)
|
|
continue
|
|
|
|
// I hate this so much dude. why do areas not track their turfs lummyyyyyyy
|
|
for(var/turf/T in A)
|
|
if(T.always_lit)
|
|
continue
|
|
new/datum/lighting_object(T)
|
|
CHECK_TICK
|
|
CHECK_TICK
|