From c25f250a9166d961079164f4dd8445ae74de7c12 Mon Sep 17 00:00:00 2001 From: SabreML <57483089+SabreML@users.noreply.github.com> Date: Wed, 20 Oct 2021 16:25:23 +0100 Subject: [PATCH] `UpdateDamageIcon()` --- code/modules/mob/living/carbon/human/human_defense.dm | 1 + code/modules/power/cable.dm | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index 2737ca54228..5b15210b57e 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -103,6 +103,7 @@ emp_act break nrembrute = max(rembrute - E.brute_dam, 0) E.heal_damage(rembrute,0,0,1) + UpdateDamageIcon() rembrute = nrembrute user.visible_message("[user] patches some dents on [src]'s [E.name] with [I].") if(bleed_rate && ismachineperson(src)) diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index db7152b3505..6064375b112 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -567,8 +567,9 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain while(cable_used <= MAXCABLEPERHEAL && E.burn_dam && amount >= 1) use(1) cable_used += 1 - E.heal_damage(0, HEALPERCABLE, 0, 1) - user.visible_message("\The [user] repairs some burn damage on \the [M]'s [E.name] with \the [src].") + E.heal_damage(0, HEALPERCABLE, 0, TRUE) + H.UpdateDamageIcon() + user.visible_message("[user] repairs some burn damage on [M]'s [E.name] with [src].") return 1 else