From b2fae10aee9be4f2defb1dfd02c9a6eea4666852 Mon Sep 17 00:00:00 2001 From: Vivalas Date: Fri, 23 Jun 2017 15:41:13 -0500 Subject: [PATCH] Probably fixes things --- code/modules/mob/living/carbon/human/human.dm | 2 +- code/modules/surgery/organs/organ_external.dm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index b3d5c09e626..6247613db82 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -66,7 +66,7 @@ /mob/living/carbon/human/Destroy() QDEL_LIST(bodyparts) - QDEL_LIST(splinted_limbs) + splinted_limbs.Cut() return ..() /mob/living/carbon/human/dummy diff --git a/code/modules/surgery/organs/organ_external.dm b/code/modules/surgery/organs/organ_external.dm index 36fbd6e6e91..ca2bee1fdd9 100644 --- a/code/modules/surgery/organs/organ_external.dm +++ b/code/modules/surgery/organs/organ_external.dm @@ -953,6 +953,8 @@ Note that amputating the affected organ does in fact remove the infection from t status |= ORGAN_DESTROYED victim.bad_external_organs -= src + if(status & ORGAN_SPLINTED) + victim.splinted_limbs -= src for(var/implant in implants) //todo: check if this can be left alone qdel(implant)