From 146fb2f6adb6ca20ce9bd0983afee7f43cfbe83c Mon Sep 17 00:00:00 2001 From: Loganbacca Date: Sun, 11 Jan 2015 21:03:27 +1300 Subject: [PATCH] Fixes lighting not updating when turfs are changed --- code/game/turfs/turf.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index d2cd7a18d5..3c5c3e9b01 100644 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -241,9 +241,9 @@ //W.Assimilate_Air() W.lighting_lumcount += old_lumcount - if(old_lumcount != W.lighting_lumcount) - W.lighting_changed = 1 - lighting_controller.changed_turfs += W + + if(W.lighting_lumcount) + W.UpdateAffectingLights() if(old_fire) fire = old_fire