changes:

Smoke no longer leaves mysterious patches of darkness.
Smoke now uses client-side animations instead of while loops.
Fixes #1985.
This commit is contained in:
Lohikar
2017-03-26 04:37:35 -05:00
committed by skull132
parent 425aa4d28c
commit f3b0edf03e
4 changed files with 23 additions and 21 deletions
+6
View File
@@ -21,6 +21,12 @@
for (var/datum/light_source/L in affecting_lights)
L.vis_update()
// Forces a lighting update. Reconsider lights is preferred when possible.
/turf/proc/force_update_lights()
L_PROF(src, "turf_forceupdate")
for (var/datum/light_source/L in affecting_lights)
L.force_update()
/turf/proc/lighting_clear_overlay()
if (lighting_overlay)
returnToPool(lighting_overlay)