Fix bug 'nvmstack' (a nil value)
This commit is contained in:
parent
078069baf6
commit
f141588818
@ -22,6 +22,7 @@ local STACK_SIZE = 2000
|
|||||||
|
|
||||||
local function gen_stack(inv, idx)
|
local function gen_stack(inv, idx)
|
||||||
inv[idx] = {name = "", count = 0}
|
inv[idx] = {name = "", count = 0}
|
||||||
|
return inv[idx]
|
||||||
end
|
end
|
||||||
|
|
||||||
local function gen_inv(nvm)
|
local function gen_inv(nvm)
|
||||||
|
Loading…
Reference in New Issue
Block a user