From 81dfe32cdb6df931cce4eba56c3830c715ebe38c Mon Sep 17 00:00:00 2001 From: Krausus Date: Mon, 25 May 2015 10:28:43 -0400 Subject: [PATCH] Fixes malfunctioning robolimbs dropping nothing --- code/modules/mob/living/carbon/human/human_organs.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/carbon/human/human_organs.dm b/code/modules/mob/living/carbon/human/human_organs.dm index fd516db258a..defc3548317 100644 --- a/code/modules/mob/living/carbon/human/human_organs.dm +++ b/code/modules/mob/living/carbon/human/human_organs.dm @@ -124,8 +124,12 @@ else if(E.is_malfunctioning()) if((E.body_part == HAND_LEFT) || (E.body_part == ARM_LEFT)) + if(!l_hand) + continue unEquip(l_hand) else + if(!r_hand) + continue unEquip(r_hand) emote("me", 1, "drops what they were holding, their [E.name] malfunctioning!")