mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +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:
@@ -85,3 +85,6 @@
|
|||||||
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