Created
August 18, 2013 02:16
-
-
Save kahrl/6259610 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/builtin/deprecated.lua b/builtin/deprecated.lua | |
index 23ab386..333f64c 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment