Fixes xenochimera uninjured check

This commit is contained in:
DESKTOP-4BUBN9N\Mike
2022-10-22 00:59:47 +01:00
parent ebb3dff71a
commit e5a1452cbf
@@ -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