Fixes random dark turfs

This was causing turfs changed at world init from a no lighting system turf to a turf that used the lighting system to have two lighting overlays, one randomly stuck at black depending on timing.
This commit is contained in:
Kyle Spier-Swenson
2016-07-02 19:41:26 -07:00
committed by GitHub
parent c5db00bd00
commit 6bfccafe41
+1
View File
@@ -309,6 +309,7 @@
lighting_changed = 0
if(lighting_object)
lighting_object.alpha = 0
qdel(lighting_object)
lighting_object = null
else
if(!lighting_object)