Fix injector bug

This commit is contained in:
Joachim Stolberg 2024-07-08 18:56:35 +02:00
parent 885d25a4a9
commit 25b087232d

View File

@ -126,7 +126,7 @@ local function push_items(pos, out_dir, idx, items)
else else
local taken = items:get_count() local taken = items:get_count()
local leftover = techage.push_items(pos, out_dir, items, idx) local leftover = techage.push_items(pos, out_dir, items, idx)
if leftover == false then if not leftover or leftover == false then
return false -- No items placed return false -- No items placed
elseif leftover ~= true then elseif leftover ~= true then
-- One or more items placed? -- One or more items placed?