mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-09-12 08:08:30 +02: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