aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/deprecated.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/deprecated.lua b/builtin/deprecated.lua
index 23ab38675..333f64cdc 100644
--- a/builtin/deprecated.lua
+++ b/builtin/deprecated.lua
@@ -38,7 +38,7 @@ setmetatable(minetest.env, {
local func = minetest[key]
if type(func) == "function" then
rawset(table, key, function(self, ...)
- return func(unpack({...}))
+ return func(...)
end)
else
rawset(table, key, nil)