Lazy lighting init, fixes, and optimizations. (#12440)

* Lazy lighting init, fixes, and optimizations.

All corners are now made when first needed (some edge cases due to sloth)

Makes set_light accept null for the l_color parameter.

Fixes set_opacity not update has_opaque_atom on the turf.

Performance optimization to the internal lighting application code.

* NONSENSICAL_VALUE
This commit is contained in:
Pieter-Jan Briers
2016-11-04 02:21:33 +01:00
committed by clusterfack
parent 08e26a73c1
commit 1acc8a2a6f
9 changed files with 56 additions and 51 deletions

View File

@@ -20,7 +20,6 @@
name = "lighting"
create_all_lighting_overlays()
create_all_lighting_corners()
/datum/controller/process/lighting/doWork()
// Counters