util/format.lua
changeset 8420 e88db5668cfb
parent 8386 d967d6f2ad00
child 9660 3da6cc927ee6
--- a/util/format.lua	Thu Nov 23 20:51:38 2017 +0100
+++ b/util/format.lua	Thu Nov 23 20:55:21 2017 +0100
@@ -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, ...)