mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
Queue: fix accessing undefined variable result
This commit is contained in:
parent
f0e1111b7c
commit
8c76b3b760
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ local Queue = {}
|
|||
Queue.__index = Queue
|
||||
|
||||
function Queue.new()
|
||||
result = { first = 0, last = -1, items = {} }
|
||||
local result = { first = 0, last = -1, items = {} }
|
||||
setmetatable(result, Queue)
|
||||
return result
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue