From a8e5c62b9f0e2df44f888b3cc73f4f196ff65637 Mon Sep 17 00:00:00 2001 From: Neerti Date: Tue, 27 Dec 2016 15:53:21 -0500 Subject: [PATCH] Fixes floor lighting bug When a floor was created, it would always be dark at a distance until nearby light sources turned off and on again. This should fix that problem by forcing the overlay to update upon turf being changed. --- code/game/turfs/turf_changing.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/game/turfs/turf_changing.dm b/code/game/turfs/turf_changing.dm index 10ffb3a8cc..f26ba433ff 100644 --- a/code/game/turfs/turf_changing.dm +++ b/code/game/turfs/turf_changing.dm @@ -84,4 +84,7 @@ if(dynamic_lighting) lighting_build_overlays() else - lighting_clear_overlays() \ No newline at end of file + lighting_clear_overlays() + else + if(lighting_overlay) + lighting_overlay.update_overlay() \ No newline at end of file