Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix trailing nils being dropped by deprecated minetest.env handler
  • Loading branch information
kahrl committed Aug 18, 2013
1 parent 09a50d0 commit 392689e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/deprecated.lua
Expand Up @@ -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)
Expand Down

0 comments on commit 392689e

Please sign in to comment.