From 9eca7de5e6dcd7bbfb20c38fa23553c16bdabac7 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 14 Mar 2024 00:49:25 +0100 Subject: [PATCH] [MIRROR] Prevent bioware list deletion runtime for human destroy (what the fuck is a bioware?). (#26878) * Prevent bioware list deletion runtime for human destroy (what the fuck is a bioware?). (#81907) ## About The Pull Request Prevent bioware list deletion runtime (biowares remove themselves from the biowares list when deleted) by making it a lazy list delete. ## Why It's Good For The Game Removes a runtime. ## Changelog :cl: fix: Prevent runtime from humans with biowares gettingn deleted. /:cl: * Prevent bioware list deletion runtime for human destroy (what the fuck is a bioware?). --------- Co-authored-by: Pickle-Coding <58013024+Pickle-Coding@users.noreply.github.com> --- code/modules/mob/living/carbon/human/human.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 92585f70059..dc3bddf3d90 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -61,7 +61,7 @@ /mob/living/carbon/human/Destroy() QDEL_NULL(physiology) if(biowares) - QDEL_LIST(biowares) + QDEL_LAZYLIST(biowares) GLOB.human_list -= src if (mob_mood)