From 66b4453d8438bcaae9af844014b5cffe8398f360 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Fri, 10 Apr 2026 14:55:40 -0400 Subject: [PATCH] Pants Hard Del (#22175) Pants references weren't being nulled from humans with pants. I have no idea how this was around for so long. --- code/modules/mob/living/carbon/human/human.dm | 2 ++ html/changelogs/hellfirejag-pants-hard-del.yml | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 html/changelogs/hellfirejag-pants-hard-del.yml diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 6936e5de4c4..22d1f687067 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -142,6 +142,8 @@ QDEL_NULL(back) QDEL_NULL(l_hand) QDEL_NULL(r_hand) + QDEL_NULL(wrists) + QDEL_NULL(pants) // Do this last so the mob's stuff doesn't drop on del. QDEL_NULL(w_uniform) diff --git a/html/changelogs/hellfirejag-pants-hard-del.yml b/html/changelogs/hellfirejag-pants-hard-del.yml new file mode 100644 index 00000000000..8c4a32c524b --- /dev/null +++ b/html/changelogs/hellfirejag-pants-hard-del.yml @@ -0,0 +1,4 @@ +author: Hellfirejag +delete-after: True +changes: + - bugfix: "Fixed a hard delete related to pants."