add unpack compat for good measure
This commit is contained in:
parent
53296c937f
commit
0991d41d59
@ -4,6 +4,7 @@ _G.whosit = whosit
|
|||||||
|
|
||||||
-- provide table.pack if luajit is built without LUA52COMPAT
|
-- provide table.pack if luajit is built without LUA52COMPAT
|
||||||
local pack = table.pack or function(...) return {n = select("#", ...), ...} end
|
local pack = table.pack or function(...) return {n = select("#", ...), ...} end
|
||||||
|
local unpack = unpack or table.unpack
|
||||||
|
|
||||||
-- use efficient deque or implement our own FIFO type of thing
|
-- use efficient deque or implement our own FIFO type of thing
|
||||||
local formspec_log = futil and futil.Deque and futil.Deque()
|
local formspec_log = futil and futil.Deque and futil.Deque()
|
||||||
|
Loading…
Reference in New Issue
Block a user