[MIRROR] Fixes drying rack not drying wet leather (#2931)

* leatherman (#56483)

Fixes stacks like wet leather not being dryable in a drying rack

* Fixes drying rack not drying wet leather

Co-authored-by: Valtos <valtos@spaces.ru>
This commit is contained in:
SkyratBot
2021-01-29 14:13:23 +00:00
committed by GitHub
co-authored by Valtos
parent 1ab39fec4b
commit 283b687641
+1 -1
View File
@@ -30,7 +30,7 @@
return
else if(istype(source, /obj/item/stack)) //Check if its a sheet
var/obj/item/stack/itemstack
var/obj/item/stack/itemstack = dried_atom
for(var/i in 1 to itemstack.amount)
var/atom/movable/resulting_atom = new dry_result(source.drop_location())
ADD_TRAIT(resulting_atom, TRAIT_DRIED, ELEMENT_TRAIT)