Add debugging code to find source of qdels

These objects are being deleted by something, but I don't know what.
This commit is contained in:
Aronai Sieyes
2021-06-18 13:50:28 -04:00
parent e9dc0d8412
commit 42eb6b9eea
3 changed files with 28 additions and 4 deletions
+6
View File
@@ -100,3 +100,9 @@
/obj/effect/abstract/directional_lighting
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
/obj/effect/abstract/directional_lighting/Destroy(force)
if(!force)
stack_trace("Directional light atom deleted, but not by our component")
return QDEL_HINT_LETMELIVE
return ..()