From e5a1452cbf2f0ab65805d61bd36905276bc2d3d0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-4BUBN9N\\Mike" Date: Sat, 22 Oct 2022 00:59:47 +0100 Subject: [PATCH] Fixes xenochimera uninjured check --- .../human/species/station/station_special_abilities_vr.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm index da3d92fda8a..f743dfd432f 100644 --- a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm +++ b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm @@ -97,10 +97,10 @@ if (getBruteLoss() || getFireLoss() || getHalLoss() || getToxLoss() || getOxyLoss() || getBrainLoss()) //fails if they have any of the main damage types return FALSE for (var/obj/item/organ/O in organs) //check their organs just in case they're being sneaky and somehow have organ damage but no health damage - if (O.damage) + if (O.is_damaged() || O.status) return FALSE for (var/obj/item/organ/O in internal_organs) //check their organs just in case they're being sneaky and somehow have organ damage but no health damage - if (O.damage) + if (O.is_damaged() || O.status) return FALSE return TRUE