Fix injector bug
This commit is contained in:
parent
885d25a4a9
commit
25b087232d
@ -126,7 +126,7 @@ local function push_items(pos, out_dir, idx, items)
|
||||
else
|
||||
local taken = items:get_count()
|
||||
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
|
||||
elseif leftover ~= true then
|
||||
-- One or more items placed?
|
||||
|
Loading…
Reference in New Issue
Block a user