mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
Space/Changeturf fixes and optimizations Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
13 lines
267 B
Plaintext
13 lines
267 B
Plaintext
|
|
/proc/create_all_lighting_objects()
|
|
for(var/area/A as anything in GLOB.areas)
|
|
if(!A.static_lighting)
|
|
continue
|
|
|
|
for(var/turf/T as anything in A.get_contained_turfs())
|
|
if(T.space_lit)
|
|
continue
|
|
new /datum/lighting_object(T)
|
|
CHECK_TICK
|
|
CHECK_TICK
|