Mineral boxes will now handle properly the movements of the mineral ores when a player click on them with one.

Fixes issue 2352
This commit is contained in:
Aranclanos
2014-01-15 20:08:35 -03:00
parent 42551d54e7
commit 470e323fda
+2 -1
View File
@@ -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)