From a4a80acf2df5c63be0dd4b3a47569ea4dfa205bf Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Wed, 8 Apr 2026 09:24:25 -0700 Subject: [PATCH] [MIRROR] Death alarm runtime fixes (#12643) Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> --- code/game/objects/items/weapons/implants/implant.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/game/objects/items/weapons/implants/implant.dm b/code/game/objects/items/weapons/implants/implant.dm index ad8c6350d4..23a8f02cb5 100644 --- a/code/game/objects/items/weapons/implants/implant.dm +++ b/code/game/objects/items/weapons/implants/implant.dm @@ -516,6 +516,10 @@ the implant may become unstable and either pre-maturely inject the subject or si "} + span_bold("Integrity:") + {"Implant will occasionally be degraded by the body's immune system and thus will occasionally malfunction."} return dat +/obj/item/implant/death_alarm/Destroy() + STOP_PROCESSING(SSobj, src) + . = ..() + /obj/item/implant/death_alarm/process() if (!implanted) return var/mob/M = imp_in @@ -528,6 +532,9 @@ the implant may become unstable and either pre-maturely inject the subject or si /obj/item/implant/death_alarm/activate(var/cause) var/mob/M = imp_in var/area/t = get_area(M) + if(!t) // Failsafe + STOP_PROCESSING(SSobj, src) + return switch (cause) if("death") var/obj/item/radio/headset/a = new /obj/item/radio/headset/heads/captain(null)