mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-28 01:42:50 +00:00
Merge pull request #12841 from ItsSelis/selis-patch-1
Washing Disposal Bin washes contents of backpacks
This commit is contained in:
@@ -6,6 +6,13 @@
|
||||
|
||||
/obj/machinery/disposal/wall/cleaner/flush()
|
||||
flick("[icon_state]-flush", src)
|
||||
for(var/obj/item/weapon/storage/i in src)
|
||||
if(istype(i, /obj/item/weapon/storage))
|
||||
var/list/storage_items = i.return_inv()
|
||||
|
||||
for(var/obj/item/item in storage_items)
|
||||
item.decontaminate()
|
||||
|
||||
for(var/obj/item/i in src)
|
||||
if(istype(i, /obj/item))
|
||||
i.decontaminate()
|
||||
|
||||
Reference in New Issue
Block a user