projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a50d0
)
Fix trailing nils being dropped by deprecated minetest.env handler
author
Kahrl
<kahrl@gmx.net>
Sun, 18 Aug 2013 13:15:33 +0000
(15:15 +0200)
committer
Kahrl
<kahrl@gmx.net>
Sun, 18 Aug 2013 13:15:33 +0000
(15:15 +0200)
builtin/deprecated.lua
patch
|
blob
|
history
diff --git
a/builtin/deprecated.lua
b/builtin/deprecated.lua
index 23ab386750674919d2cb45611070e427f26740a5..333f64cdc3c7d879d2d1a581fa699452b5d6ce63 100644
(file)
--- 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)