From 6e0d8de5994b09c2a72ee8ccedbd7f34d8fc9282 Mon Sep 17 00:00:00 2001 From: SkyMarshal Date: Sun, 8 Jan 2012 11:37:57 -0700 Subject: [PATCH] Fixed bug involving toolboxes and the Destructive Analyzer --- code/modules/research/destructive_analyzer.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/research/destructive_analyzer.dm b/code/modules/research/destructive_analyzer.dm index ebf0903b7ed..5b120e5117a 100644 --- a/code/modules/research/destructive_analyzer.dm +++ b/code/modules/research/destructive_analyzer.dm @@ -90,6 +90,9 @@ Note: Must be placed within 3 tiles of the R&D Console busy = 1 loaded_item = O user.drop_item() + if(istype(O,/obj/item/weapon/storage)) + var/obj/item/weapon/storage/L = O + L.close(user) O.loc = src user << "\blue You add the [O.name] to the machine!" flick("d_analyzer_la", src)