Allows emptying of ashtrays into disposals

This commit is contained in:
Anewbe
2016-11-14 22:10:59 -06:00
parent 5ea7bd004a
commit b9b33018cd

View File

@@ -106,6 +106,15 @@
update()
return
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
A.update_icon()
update()
return
var/obj/item/weapon/grab/G = I
if(istype(G)) // handle grabbed mob
if(ismob(G.affecting))