From 06e6277dc62327e03363c0ec8a290d1ae6b66e30 Mon Sep 17 00:00:00 2001 From: Tramziller Date: Mon, 5 Jan 2015 22:17:40 +0100 Subject: [PATCH] Fixed bug of peridaxon healing robotic organs --- code/modules/reagents/Chemistry-Reagents.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/Chemistry-Reagents.dm b/code/modules/reagents/Chemistry-Reagents.dm index 6389ab94ee..51ec827779 100644 --- a/code/modules/reagents/Chemistry-Reagents.dm +++ b/code/modules/reagents/Chemistry-Reagents.dm @@ -1280,9 +1280,9 @@ datum if(ishuman(M)) var/mob/living/carbon/human/H = M - //Peridaxon is hard enough to get, it's probably fair to make this all internal organs + //Peridaxon heals only non-robotic organs for(var/datum/organ/internal/I in H.internal_organs) - if(I.damage > 0) + if((I.damage > 0) && (I.robotic != 2)) I.damage = max(I.damage - 0.20, 0) ..() return