add unpack compat for good measure

This commit is contained in:
whosit 2025-03-26 18:13:52 +03:00
parent 53296c937f
commit 0991d41d59

View File

@ -4,6 +4,7 @@ _G.whosit = whosit
-- provide table.pack if luajit is built without LUA52COMPAT
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
local formspec_log = futil and futil.Deque and futil.Deque()