From 5cdaa4c90ae23b10eb7c579c1cff8f728b76db81 Mon Sep 17 00:00:00 2001 From: KasparoVy Date: Mon, 16 May 2016 18:30:31 -0400 Subject: [PATCH] Rejuvenating Organs will now Clear Disfigurement of the Head --- code/modules/surgery/organs/organ_external.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/surgery/organs/organ_external.dm b/code/modules/surgery/organs/organ_external.dm index c18f1543fe6..aec758b135e 100644 --- a/code/modules/surgery/organs/organ_external.dm +++ b/code/modules/surgery/organs/organ_external.dm @@ -308,7 +308,7 @@ This function completely restores a damaged organ to perfect condition. */ /obj/item/organ/external/rejuvenate() damage_state = "00" - if(status & 128) //Robotic organs stay robotic. Fix because right click rejuvinate makes IPC's organs organic. + if(status & 128) //Robotic organs stay robotic. status = 128 else status = 0 @@ -316,7 +316,10 @@ This function completely restores a damaged organ to perfect condition. perma_injury = 0 brute_dam = 0 burn_dam = 0 + open = 0 //Closing all wounds. wounds = list() //Clears all wounds! Good as new. + if(istype(src, /obj/item/organ/external/head) && disfigured) //If their head's disfigured, refigure it. + disfigured = 0 // handle internal organs for(var/obj/item/organ/internal/current_organ in internal_organs)