From ed788deddd0a413f132db9c407097e09f5f4c7e8 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sat, 13 Jun 2026 16:53:43 -0400 Subject: [PATCH] Another Stupid Runtime (#22680) Why is this stupid var set as a machinery when it can be literally any /obj/? I hate this stupid runtime error. --- code/modules/mob/mob.dm | 2 +- html/changelogs/hellfirejag-another-human-harddel.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/hellfirejag-another-human-harddel.yml diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 0109952c96e..ce64d9b7ee5 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -54,7 +54,7 @@ QDEL_NULL(ability_master) QDEL_NULL(zone_sel) - if (length(machine?.climbers)) + if (istype(machine, /obj/structure) && length(machine.climbers)) machine.climbers -= src machine = null diff --git a/html/changelogs/hellfirejag-another-human-harddel.yml b/html/changelogs/hellfirejag-another-human-harddel.yml new file mode 100644 index 00000000000..23bcd734d7f --- /dev/null +++ b/html/changelogs/hellfirejag-another-human-harddel.yml @@ -0,0 +1,4 @@ +author: Hellfirejag +delete-after: True +changes: + - bugfix: "Fixed yet another runtime error with humans that triggers hard deletes."