Fixes lighting not updating when turfs are changed

This commit is contained in:
Loganbacca
2015-01-11 21:03:27 +13:00
parent 441ee30bfb
commit 146fb2f6ad

View File

@@ -241,9 +241,9 @@
//W.Assimilate_Air() //W.Assimilate_Air()
W.lighting_lumcount += old_lumcount W.lighting_lumcount += old_lumcount
if(old_lumcount != W.lighting_lumcount)
W.lighting_changed = 1 if(W.lighting_lumcount)
lighting_controller.changed_turfs += W W.UpdateAffectingLights()
if(old_fire) if(old_fire)
fire = old_fire fire = old_fire