From f1746e011eede64ef040243020a34c3aa2f51382 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Tue, 27 Jun 2017 14:45:25 -0400 Subject: [PATCH] fixes --- code/modules/surgery/limb_augmentation.dm | 2 ++ code/modules/surgery/organs/organ_external.dm | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/surgery/limb_augmentation.dm b/code/modules/surgery/limb_augmentation.dm index d25b9fdc329..174076c5fab 100644 --- a/code/modules/surgery/limb_augmentation.dm +++ b/code/modules/surgery/limb_augmentation.dm @@ -9,6 +9,8 @@ var/obj/item/organ/external/affected = H.get_organ(user.zone_sel.selecting) if(!affected) return 0 + if(affected.status & ORGAN_BROKEN) //The arm has to be in prime condition to augment it. + return 0 if(affected.status & ORGAN_ROBOT) return 0 return 1 diff --git a/code/modules/surgery/organs/organ_external.dm b/code/modules/surgery/organs/organ_external.dm index 636942a3f77..7d544a61cda 100644 --- a/code/modules/surgery/organs/organ_external.dm +++ b/code/modules/surgery/organs/organ_external.dm @@ -852,7 +852,6 @@ Note that amputating the affected organ does in fact remove the infection from t status &= ~ORGAN_BROKEN return 1 -// I put these two next to each other to highlight that both exist. This should likely be resolved. /obj/item/organ/external/robotize(company, make_tough = 0, convert_all = 1) ..() //robot limbs take reduced damage