From 3a32240a9e0b3ff9d347b77e7e60818d2b7ca45f Mon Sep 17 00:00:00 2001 From: XDTM Date: Wed, 8 Aug 2018 18:42:17 +0200 Subject: [PATCH] Augmentation uses replace_limb instead of manually doing the same (#39595) --- code/modules/surgery/limb_augmentation.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/surgery/limb_augmentation.dm b/code/modules/surgery/limb_augmentation.dm index bfd5d323c0c..43531d5d653 100644 --- a/code/modules/surgery/limb_augmentation.dm +++ b/code/modules/surgery/limb_augmentation.dm @@ -57,8 +57,7 @@ tool.cut_overlays() tool = tool.contents[1] if(istype(tool) && user.temporarilyRemoveItemFromInventory(tool)) - L.drop_limb(TRUE) //The limb is augmented, not directly replaced, so keep the internal organs - tool.attach_limb(target) + tool.replace_limb(target) user.visible_message("[user] successfully augments [target]'s [parse_zone(target_zone)]!", "You successfully augment [target]'s [parse_zone(target_zone)].") add_logs(user, target, "augmented", addition="by giving him new [parse_zone(target_zone)] INTENT: [uppertext(user.a_intent)]") else