From a07cd1f361d3c1c81b0293cc86cd654962886c58 Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Wed, 2 Jul 2014 05:35:56 +0930 Subject: [PATCH] Fixes #5446 --- code/modules/mob/living/carbon/human/human_damage.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_damage.dm b/code/modules/mob/living/carbon/human/human_damage.dm index c629e5f114a..c70c08686e2 100644 --- a/code/modules/mob/living/carbon/human/human_damage.dm +++ b/code/modules/mob/living/carbon/human/human_damage.dm @@ -310,7 +310,7 @@ This function restores all organs. //Embedded object code. if(!organ) return - if(istype(used_weapon,/obj/item)) + if(istype(used_weapon,/obj/item) && !istype(used_weapon.loc,/mob/living/silicon/robot)) var/obj/item/W = used_weapon //Sharp objects will always embed if they do enough damage. if((damage > (10*W.w_class)) || ((sharp && !ismob(W.loc)) || prob(damage/W.w_class))) organ.embed(W)