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:
@@ -85,3 +85,6 @@
|
||||
lighting_build_overlays()
|
||||
else
|
||||
lighting_clear_overlays()
|
||||
else
|
||||
if(lighting_overlay)
|
||||
lighting_overlay.update_overlay()
|
||||
Reference in New Issue
Block a user