Skip to content

Commit

Permalink
bugfix: Update Health Typo Fix (#5658)
Browse files Browse the repository at this point in the history
Update Health Typo Fix
  • Loading branch information
Gottfrei authored Aug 5, 2024
1 parent f23ac59 commit f412265
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Bonus
for(var/obj/item/organ/external/bodypart as anything in parts)
var/brute_was = bodypart.brute_dam
var/burn_was = bodypart.burn_dam
update_damage_icon |= bodypart.heal_damage(get_damage, get_damage, updating_health = TRUE)
update_damage_icon |= bodypart.heal_damage(get_damage, get_damage, updating_health = FALSE)
if(bodypart.brute_dam != brute_was || bodypart.burn_dam != burn_was)
update_health |= STATUS_UPDATE_HEALTH
healed += max(((bodypart.brute_dam - brute_was) + (bodypart.burn_dam - burn_was)), get_damage)
Expand Down

0 comments on commit f412265

Please sign in to comment.