Fixes light source qdel issues.

This commit is contained in:
Kyle Spier-Swenson
2017-10-24 14:44:49 -07:00
committed by KorPhaeron
parent d8a52b4e96
commit 7cda369642

View File

@@ -57,9 +57,10 @@
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.