From 6bfccafe41e5cf90e565b5610e5ded4efa306b05 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sat, 2 Jul 2016 19:41:26 -0700 Subject: [PATCH] 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. --- code/modules/lighting/lighting_system.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/lighting/lighting_system.dm b/code/modules/lighting/lighting_system.dm index d65331be03a..c82e76613a0 100644 --- a/code/modules/lighting/lighting_system.dm +++ b/code/modules/lighting/lighting_system.dm @@ -309,6 +309,7 @@ lighting_changed = 0 if(lighting_object) lighting_object.alpha = 0 + qdel(lighting_object) lighting_object = null else if(!lighting_object)