From 25853d7d79cd487d893ee26d8d4b1d46e8fedc39 Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Tue, 17 Jun 2014 00:22:00 -0400 Subject: [PATCH] Slime surgery runtime fix --- code/modules/surgery/robolimbs.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/surgery/robolimbs.dm b/code/modules/surgery/robolimbs.dm index 8e249887772..aa0f37d807d 100644 --- a/code/modules/surgery/robolimbs.dm +++ b/code/modules/surgery/robolimbs.dm @@ -30,6 +30,8 @@ max_duration = 100 can_use(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool) + if (!hasorgans(target)) + return 0 var/datum/organ/external/affected = target.get_organ(target_zone) return ..() && !(affected.status & ORGAN_CUT_AWAY)