- Fixed ore boxes not being properly loaded from mining satchels.

- Fixed it being possible to drag-drop any storage item to either hand from.. anywhere... You can now only do that if the backpack is somewhere on you.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4485 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-18 01:44:00 +00:00
parent 73ec1110cd
commit e45aec98e7
2 changed files with 5 additions and 2 deletions

View File

@@ -13,8 +13,9 @@
src.contents += W;
if (istype(W, /obj/item/weapon/storage))
var/obj/item/weapon/storage/S = W
S.hide_from(usr)
for(var/obj/item/weapon/ore/O in S.contents)
S.remove_from_storage(W,src) //This will move the item to this item's contents
S.remove_from_storage(O, src) //This will move the item to this item's contents
user << "\blue You empty the satchel into the box."
return