mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 04:02:31 +00:00
Fixes lighting not updating when turfs are changed
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user