From 671ae577f059593cdef48dadb7fcf891aba0f44b Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Tue, 24 Oct 2017 14:44:49 -0700 Subject: [PATCH] Fixes light source qdel issues. --- code/modules/lighting/lighting_source.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/lighting/lighting_source.dm b/code/modules/lighting/lighting_source.dm index dd5cd53690..178f091fb7 100644 --- a/code/modules/lighting/lighting_source.dm +++ b/code/modules/lighting/lighting_source.dm @@ -56,10 +56,11 @@ if (top_atom) LAZYREMOVE(top_atom.light_sources, src) - + + if (needs_update) + GLOB.lighting_update_lights -= src + . = ..() - if(!force) - return QDEL_HINT_IWILLGC // Yes this doesn't align correctly on anything other than 4 width tabs. // If you want it to go switch everybody to elastic tab stops.