Fix yet another oopsle

This commit is contained in:
osmarks 2018-07-28 13:34:27 +01:00
parent b665eff7fb
commit 2f046e6007

View File

@ -186,7 +186,7 @@ end
local function collate_stacks(s)
local out = {}
for _, stack in pairs(s) do
local i = w.get_internal_identifier(stack)
local i = get_internal_identifier(stack)
if out[i] then out[i].count = out[i].count + stack.count
else out[i] = stack end
end