mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 04:17:33 +01:00
Fix smoke (#1996)
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user