mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
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.
This commit is contained in:
@@ -84,4 +84,7 @@
|
|||||||
if(dynamic_lighting)
|
if(dynamic_lighting)
|
||||||
lighting_build_overlays()
|
lighting_build_overlays()
|
||||||
else
|
else
|
||||||
lighting_clear_overlays()
|
lighting_clear_overlays()
|
||||||
|
else
|
||||||
|
if(lighting_overlay)
|
||||||
|
lighting_overlay.update_overlay()
|
||||||
Reference in New Issue
Block a user