Fixes ghost stacks lingering in the fridge

This commit is contained in:
atermonera
2021-11-21 22:18:37 -08:00
parent 5657f839b2
commit e5abe10a84
+2
View File
@@ -90,6 +90,8 @@
for(var/obj/item/stack/T as anything in instances)
if(count <= 0)
break
if(T.get_amount() <= count)
instances -= T
count -= T.transfer_to(S, count)
S.forceMove(product_location)