From 470e323fdaf800c19e909ad4c3cbaa4d03481fc9 Mon Sep 17 00:00:00 2001 From: Aranclanos Date: Wed, 15 Jan 2014 20:08:35 -0300 Subject: [PATCH] Mineral boxes will now handle properly the movements of the mineral ores when a player click on them with one. Fixes issue 2352 --- code/modules/mining/satchel_ore_boxdm.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/satchel_ore_boxdm.dm b/code/modules/mining/satchel_ore_boxdm.dm index 4800991b6f6..693b26ae82d 100644 --- a/code/modules/mining/satchel_ore_boxdm.dm +++ b/code/modules/mining/satchel_ore_boxdm.dm @@ -10,7 +10,8 @@ /obj/structure/ore_box/attackby(obj/item/weapon/W as obj, mob/user as mob) if (istype(W, /obj/item/weapon/ore)) - src.contents += W; + user.drop_item() + W.loc = src if (istype(W, /obj/item/weapon/storage)) var/obj/item/weapon/storage/S = W S.hide_from(usr)