From 6192d4ddabdec6c50f4f89e10227f99f4c3090ae Mon Sep 17 00:00:00 2001 From: DeltaFire Date: Wed, 13 Jan 2021 00:08:59 +0100 Subject: [PATCH] fixes --- code/game/objects/items/stacks/medical.dm | 1 + code/modules/surgery/bodyparts/_bodyparts.dm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/code/game/objects/items/stacks/medical.dm b/code/game/objects/items/stacks/medical.dm index 64e58ded40..d8dbcbfa48 100644 --- a/code/game/objects/items/stacks/medical.dm +++ b/code/game/objects/items/stacks/medical.dm @@ -508,6 +508,7 @@ return if(!affecting.threshhold_brute_passed && !affecting.threshhold_burn_passed) to_chat(user, "There is no need to use this on [affecting]") + return if(affecting.threshhold_brute_passed && affecting.brute_dam == affecting.threshhold_passed_mindamage) . = TRUE affecting.threshhold_brute_passed = FALSE diff --git a/code/modules/surgery/bodyparts/_bodyparts.dm b/code/modules/surgery/bodyparts/_bodyparts.dm index 2ca7d07e73..962bc8c1ce 100644 --- a/code/modules/surgery/bodyparts/_bodyparts.dm +++ b/code/modules/surgery/bodyparts/_bodyparts.dm @@ -297,6 +297,7 @@ owner.update_stamina() consider_processing() update_disabled() + update_threshhold_state() return update_bodypart_damage_state() /// Allows us to roll for and apply a wound without actually dealing damage. Used for aggregate wounding power with pellet clouds @@ -475,6 +476,7 @@ owner.updatehealth() consider_processing() update_disabled() + update_threshhold_state() return update_bodypart_damage_state() //Returns total damage.