From 74365731779b717893cf86ef90f40a1dced2e4f9 Mon Sep 17 00:00:00 2001 From: ccomp5950 Date: Tue, 5 May 2015 21:37:28 -0400 Subject: [PATCH] Fixes the removal of all organs when admins use "Select Equipment" fixes #8884 --- code/modules/admin/verbs/debug.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 62c9de0d6f..806d20d1ca 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -555,7 +555,9 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that for (var/obj/item/I in M) if (istype(I, /obj/item/weapon/implant)) continue - qdel(I) + M.drop_from_inventory(I) + if(I.loc != M) + qdel(I) switch(dresscode) if ("strip") //do nothing