From 52b6d0bc01a2a178dabc0b0ab8bce0414356732e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 10 Jun 2024 16:02:38 +0100 Subject: [Minor] Fix uitil.unpack function --- lualib/lua_util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lualib') 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 --[[[ -- cgit v1.2.3