Skip to content

Commit

Permalink
var renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell committed Oct 26, 2024
1 parent 8966aeb commit eece6e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/reagents/chemistry/reagents/toxins.dm
Original file line number Diff line number Diff line change
Expand Up @@ -383,11 +383,11 @@
affecting.disfigure()

var/damage_coef = 0
var/isDamaged = FALSE
var/has_damaged = FALSE
for(var/obj/item/organ/external/bodypart as anything in H.bodyparts)
damage_coef = (100 - clamp(H.getarmor_organ(bodypart, ACID), 0, 100)) / 100
if(damage_coef > 0 && !isDamaged)
isDamaged = TRUE
if(damage_coef > 0 && !has_damaged)
has_damaged = TRUE
if(H.has_pain())
H.emote("scream")

Expand Down

0 comments on commit eece6e6

Please sign in to comment.