summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--digilines/internal.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/digilines/internal.lua b/digilines/internal.lua
index e97ff10..f29cc8d 100644
--- a/digilines/internal.lua
+++ b/digilines/internal.lua
@@ -15,7 +15,7 @@ end
function digiline:getAnyInputRules(pos)
local node = minetest.get_node(pos)
- spec = digiline:getspec(node)
+ local spec = digiline:getspec(node)
if not spec then return end
if spec.wire then
@@ -30,7 +30,7 @@ end
function digiline:getAnyOutputRules(pos)
local node = minetest.get_node(pos)
- spec = digiline:getspec(node)
+ local spec = digiline:getspec(node)
if not spec then return end
if spec.wire then