mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-19 21:46:42 +00:00
* Refactor area and turf lighting * AAAAAAAA Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@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
|