diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-12-30 00:10:51 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-12-30 00:11:49 -0500 |
commit | 1f277147ca03788b784ee13fb1dd4e07889b4b59 (patch) | |
tree | fd86488ce63b712977963611aff2d3322d5c267f /worldedit/code.lua | |
parent | 04fdf92aca66641de87a6e7d00de2bdd796858d1 (diff) |
Fix Lua function
Diffstat (limited to 'worldedit/code.lua')
-rw-r--r-- | worldedit/code.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/code.lua b/worldedit/code.lua index dc58299..2959bf8 100644 --- a/worldedit/code.lua +++ b/worldedit/code.lua @@ -26,7 +26,7 @@ worldedit.lua = function(code) if not func then -- Syntax error
return err
end
- local good, err = pcall(operation)
+ local good, err = pcall(func)
if not good then -- Runtime error
return err
end
|