diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 75b53d11cb..80f034b0bf 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -7,6 +7,7 @@ ..() /mob/living/carbon/Destroy() +<<<<<<< HEAD for(var/guts in internal_organs) qdel(guts) for(var/atom/movable/food in stomach_contents) @@ -20,6 +21,17 @@ if(dna) qdel(dna) return ..() +======= + //This must be done first, so the mob ghosts correctly before DNA etc is nulled + . = ..() + + QDEL_LIST(internal_organs) + QDEL_LIST(stomach_contents) + QDEL_LIST(bodyparts) + QDEL_LIST(implants) + remove_from_all_data_huds() + QDEL_NULL(dna) +>>>>>>> 9176e2f... Merge pull request #31774 from optimumtact/dummiecode /mob/living/carbon/relaymove(mob/user, direction) if(user in src.stomach_contents)