mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-25 07:02:26 +01:00
Queue: fix accessing undefined variable result
This commit is contained in:
parent
f0e1111b7c
commit
8c76b3b760
@ -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 New Issue
Block a user