Fix bug 'nvmstack' (a nil value)

This commit is contained in:
Joachim Stolberg 2023-02-07 20:04:59 +01:00
parent 078069baf6
commit f141588818

View File

@ -22,6 +22,7 @@ local STACK_SIZE = 2000
local function gen_stack(inv, idx)
inv[idx] = {name = "", count = 0}
return inv[idx]
end
local function gen_inv(nvm)