From eece6e601fc146d3192f3ee2ed99936a825c9807 Mon Sep 17 00:00:00 2001 From: Vladisvell Date: Sat, 26 Oct 2024 23:57:24 +0500 Subject: [PATCH] var renamed --- code/modules/reagents/chemistry/reagents/toxins.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/reagents/chemistry/reagents/toxins.dm b/code/modules/reagents/chemistry/reagents/toxins.dm index 5d5374554a1..a03214174e5 100644 --- a/code/modules/reagents/chemistry/reagents/toxins.dm +++ b/code/modules/reagents/chemistry/reagents/toxins.dm @@ -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")