Fixes a few things

This commit is contained in:
Anewbe
2016-11-15 18:15:32 -06:00
parent b9b33018cd
commit 8bba88cd66

View File

@@ -108,9 +108,13 @@
if(istype(I, /obj/item/weapon/material/ashtray))
var/obj/item/weapon/material/ashtray/A = I
user << "\blue You empty the [A.name]."
for(var/obj/item/O in A.contents)
O.loc = src
if(A.contents.len == 0)
user.visible_message("<span class='notice'>\The [user] places \the [A.name] into [src].</span>")
I.forceMove(src)
else
user.visible_message("<span class='notice'>\The [user] empties \the [A.name] into [src].</span>")
for(var/obj/item/O in A.contents)
O.forceMove(src)
A.update_icon()
update()
return