Skip to content

Commit

Permalink
Update handle_regular_hud_updates.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGamerdk committed Jun 12, 2024
1 parent 124b7b2 commit a2fbb6f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
else
clear_fullscreen("oxy")


//Fire and Brute damage overlay (BSSR)
var/hurtdamage = src.getBruteLoss() + src.getFireLoss() + damageoverlaytemp
var/max_health_normalisation = (species ? species.total_health : 100) / 100
var/hurtdamage = (src.getBruteLoss() + src.getFireLoss()) / max_health_normalisation + damageoverlaytemp
damageoverlaytemp = 0 // We do this so we can detect if someone hits us or not.
if(hurtdamage)
var/severity = 0
Expand Down

0 comments on commit a2fbb6f

Please sign in to comment.