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:
Neerti
2016-12-27 15:53:21 -05:00
parent a1a17a0811
commit a8e5c62b9f

View File

@@ -85,3 +85,6 @@
lighting_build_overlays()
else
lighting_clear_overlays()
else
if(lighting_overlay)
lighting_overlay.update_overlay()