From 4e6d84d8a7e264fe5777a3a55110f45267d9fbbe Mon Sep 17 00:00:00 2001 From: dumpdavidson Date: Fri, 24 May 2013 16:00:29 +0200 Subject: [PATCH] Prevents implant from dropping to the floor when drop_from_inventory is called. Resolves an issue where implants might have dropped to the floor during transformation when using adminverbs. Signed-off-by: dumpdavidson --- code/game/objects/items/weapons/implants/implant.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/weapons/implants/implant.dm b/code/game/objects/items/weapons/implants/implant.dm index 0066bd65bce..2e759d575a5 100644 --- a/code/game/objects/items/weapons/implants/implant.dm +++ b/code/game/objects/items/weapons/implants/implant.dm @@ -24,6 +24,10 @@ /obj/item/weapon/implant/proc/get_data() return "No information available" +/obj/item/weapon/implant/dropped(mob/user as mob) + . = 1 + del src + return . /obj/item/weapon/implant/tracking name = "tracking"