mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-15 18:06:48 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user