diff --git a/code/modules/surgery/bodyparts/dismemberment.dm b/code/modules/surgery/bodyparts/dismemberment.dm index cf315f9f7a3..3690ddc0b0a 100644 --- a/code/modules/surgery/bodyparts/dismemberment.dm +++ b/code/modules/surgery/bodyparts/dismemberment.dm @@ -243,16 +243,11 @@ name = "[owner.real_name]'s head" ..() - - - - - //Attach a limb to a human and drop any existing limb of that type. /obj/item/bodypart/proc/replace_limb(mob/living/carbon/C, special) if(!istype(C)) return - var/obj/item/bodypart/O = locate(src.type) in C.bodyparts + var/obj/item/bodypart/O = get_bodypart(body_zone) if(O) O.drop_limb(1) attach_limb(C, special) @@ -260,7 +255,7 @@ /obj/item/bodypart/head/replace_limb(mob/living/carbon/C, special) if(!istype(C)) return - var/obj/item/bodypart/head/O = locate(src.type) in C.bodyparts + var/obj/item/bodypart/head/O = get_bodypart(body_zone) if(O) if(!special) return