Fixes light source qdel issues.

This commit is contained in:
Kyle Spier-Swenson
2017-10-24 14:44:49 -07:00
committed by CitadelStationBot
parent 630b332848
commit 671ae577f0

View File

@@ -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.