From 2966f2964e0b4d04b616fdca7d951fdda494b1e8 Mon Sep 17 00:00:00 2001 From: Sierra Helper <125094432+SierraHelper@users.noreply.github.com> Date: Sun, 24 Nov 2024 23:38:57 +0300 Subject: [PATCH] [MIRROR] Fixes floor changes causing darkness (#2865) Co-authored-by: Hubblenaut <6383576+Hubblenaut@users.noreply.github.com> Co-authored-by: Lexanx <61974560+Lexanx@users.noreply.github.com> --- code/game/turfs/turf_changing.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/turf_changing.dm b/code/game/turfs/turf_changing.dm index 02433b8096d75..aae484808611f 100644 --- a/code/game/turfs/turf_changing.dm +++ b/code/game/turfs/turf_changing.dm @@ -105,7 +105,7 @@ recalc_atom_opacity() lighting_overlay = old_lighting_overlay affecting_lights = old_affecting_lights - if (old_opacity != opacity || dynamic_lighting != old_dynamic_lighting || force_lighting_update) + if (old_opacity != opacity || dynamic_lighting != old_dynamic_lighting || z_flags != old_zflags || force_lighting_update) reconsider_lights() updateVisibility(src)