aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_util.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index ac755182b..650ad5db1 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -389,8 +389,8 @@ end
--]]
local unpack_function = table.unpack or unpack
-exports.unpack = function(t)
- return unpack_function(t)
+exports.unpack = function(...)
+ return unpack_function(...)
end
--[[[