mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-25 22:28:00 +01:00
Fixes ghost stacks lingering in the fridge
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user