Committing a fix by SuperSayu for emptying plantbags into the smartfridge, and trashbags into disposals.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5498 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2013-01-08 22:22:47 +00:00
parent f363948dc6
commit 61098e961b
3 changed files with 13 additions and 12 deletions
+4 -4
View File
@@ -92,11 +92,11 @@
return
if(istype(I, /obj/item/weapon/storage/bag/trash))
var/obj/item/weapon/storage/bag/trash/T = I
user << "\blue You empty the bag."
for(var/obj/item/O in I.contents)
O.loc = src
I.contents -= O
I.update_icon()
for(var/obj/item/O in T.contents)
T.remove_from_storage(O,src)
T.update_icon()
update()
return