From d2e709d90d8862ea895bb9ff43abf79b0a32d8e9 Mon Sep 17 00:00:00 2001 From: Roxy <75404941+TealSeer@users.noreply.github.com> Date: Thu, 28 Nov 2024 03:53:55 -0500 Subject: [PATCH] Fix missing returns in limb dislocation treatment code (#88234) --- code/datums/wounds/bones.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/datums/wounds/bones.dm b/code/datums/wounds/bones.dm index 6b1e16543d7..830d128cddc 100644 --- a/code/datums/wounds/bones.dm +++ b/code/datums/wounds/bones.dm @@ -347,7 +347,7 @@ user.visible_message(span_danger("[user] begins [scanned ? "expertly" : ""] resetting [victim]'s [limb.plaintext_zone] with [I]."), span_notice("You begin resetting [victim]'s [limb.plaintext_zone] with [I][scanned ? ", keeping the holo-image's indications in mind" : ""]...")) if(!do_after(user, treatment_delay, target = victim, extra_checks=CALLBACK(src, PROC_REF(still_exists)))) - return + return TRUE if(victim == user) limb.receive_damage(brute=15, wound_bonus=CANT_WOUND) @@ -359,6 +359,7 @@ victim.emote("scream") qdel(src) + return TRUE /* Severe (Hairline Fracture)