IPC Limb Hard Del Fix (#22164)

Another smallish hard del fix, this time for external organs. Turns out
it really is pretty important that Destroy() procs need to close with
return ..() instead of open with . = ..()

I made this after watching an IPC ghostrole leave a round via cryo, and
then triggered 3s worth of hard dels all at once.

<img width="406" height="774" alt="image"
src="https://github.com/user-attachments/assets/096c084e-6953-4eb5-a708-0fa7018890d6"
/>
This commit is contained in:
VMSolidus
2026-04-07 16:01:10 -04:00
committed by GitHub
parent 42a4ddbadf
commit 3348558d80
2 changed files with 5 additions and 3 deletions
+1 -3
View File
@@ -224,8 +224,6 @@
/obj/item/organ/external/Destroy()
. = ..()
if(parent?.children)
parent.children -= src
@@ -262,7 +260,7 @@
QDEL_NULL(nymph)
QDEL_NULL(tendon)
return ..()
/obj/item/organ/external/proc/invalidate_marking_cache()
cached_markings = null