From dac5872e8c3ad08d5b4ca85dd6e20b1472186a27 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Wed, 17 May 2023 19:22:42 +0200 Subject: [PATCH] Fix issue with dst inventory --- basic_machines/recycler.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic_machines/recycler.lua b/basic_machines/recycler.lua index 0bdfbf4..1879d9e 100644 --- a/basic_machines/recycler.lua +++ b/basic_machines/recycler.lua @@ -115,7 +115,7 @@ end local function cook_reverse(stack, inv, idx, recipe) -- check space for _,item in ipairs(recipe.items) do - if not inv:room_for_item("dst", stack) then + if not inv:room_for_item("dst", item) then return false end end