mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +01:00
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:
@@ -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 ..()
|
||||
|
||||
@@ -143,6 +143,12 @@
|
||||
vis_flags = NONE
|
||||
blocks_emissive = FALSE
|
||||
|
||||
/obj/effect/overlay/light_visible/Destroy(force)
|
||||
if(!force)
|
||||
stack_trace("Movable light visible mask deleted, but not by our component")
|
||||
return QDEL_HINT_LETMELIVE
|
||||
return ..()
|
||||
|
||||
/obj/effect/overlay/light_cone
|
||||
name = ""
|
||||
icon = 'icons/effects/light_overlays/light_cone.dmi'
|
||||
@@ -153,4 +159,9 @@
|
||||
vis_flags = NONE
|
||||
alpha = 110
|
||||
blocks_emissive = FALSE
|
||||
|
||||
|
||||
/obj/effect/overlay/light_cone/Destroy(force)
|
||||
if(!force)
|
||||
stack_trace("Directional light cone deleted, but not by our component")
|
||||
return QDEL_HINT_LETMELIVE
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user