aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/format.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/format.lua b/util/format.lua
index 99705d03..c5e513fa 100644
--- a/util/format.lua
+++ b/util/format.lua
@@ -4,7 +4,7 @@
local tostring = tostring;
local select = select;
-local unpack = unpack;
+local unpack = table.unpack or unpack; -- luacheck: ignore 113/unpack
local type = type;
local function format(formatstring, ...)