Skip to content

Commit

Permalink
UpdateDamageIcon()
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreML committed Oct 20, 2021
1 parent 75550c3 commit c25f250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/human/human_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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("<span class='alert'>[user] patches some dents on [src]'s [E.name] with [I].</span>")
if(bleed_rate && ismachineperson(src))
Expand Down
5 changes: 3 additions & 2 deletions code/modules/power/cable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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("<span class='alert'>\The [user] repairs some burn damage on \the [M]'s [E.name] with \the [src].</span>")
E.heal_damage(0, HEALPERCABLE, 0, TRUE)
H.UpdateDamageIcon()
user.visible_message("<span class='alert'>[user] repairs some burn damage on [M]'s [E.name] with [src].</span>")
return 1

else
Expand Down

0 comments on commit c25f250

Please sign in to comment.