summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-04 22:02:03 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-04 22:02:03 -0700
commitdfeb4546fec987c77e73a381f3c7d1e75c01a386 (patch)
tree2b619055aecb321cf4ed1e370556c40d4f94296c
parent0e3544494be44d5b6de7440e76c59228355d2e37 (diff)
Declare some variables local
-rw-r--r--node_controllers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_controllers.lua b/node_controllers.lua
index a7f009f..cfd449b 100644
--- a/node_controllers.lua
+++ b/node_controllers.lua
@@ -301,7 +301,7 @@ minetest.register_node("digtron:controller", {
return
end
- newpos, status = execute_cycle(pos, clicker)
+ local newpos, status = execute_cycle(pos, clicker)
meta = minetest.get_meta(newpos)
if status ~= nil then