From 65751dcf58246c3f84eaab6be66c5bbe64d66c3d Mon Sep 17 00:00:00 2001 From: Burzah <116982774+Burzah@users.noreply.github.com> Date: Fri, 2 Jun 2023 11:50:45 -0700 Subject: [PATCH] Oversight fix: Augment Surgery Limb Status Fix (#21172) * augment surgery oversight fix * comment update for logic check --- code/modules/surgery/limb_augmentation.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/surgery/limb_augmentation.dm b/code/modules/surgery/limb_augmentation.dm index 3373d40aa2e..ca3e9ecee6e 100644 --- a/code/modules/surgery/limb_augmentation.dm +++ b/code/modules/surgery/limb_augmentation.dm @@ -16,7 +16,7 @@ if(ishuman(target)) var/mob/living/carbon/human/H = target var/obj/item/organ/external/affected = H.get_organ(user.zone_selected) - if(affected.status & ORGAN_BROKEN) //The arm has to be in prime condition to augment it. + if(affected.status & ~(ORGAN_SPLINTED | ORGAN_SALVED)) //Checks the inverse of these flags, for example if the targeted limb was broken or burned. The limb must be in good condition to augment. return FALSE return TRUE