diff options
author | Jeija <jeija@mesecons.net> | 2014-04-24 22:56:10 +0200 |
---|---|---|
committer | Jeija <jeija@mesecons.net> | 2014-04-24 22:56:10 +0200 |
commit | d674101936350e828138cdac24717700aca3d80f (patch) | |
tree | ac99411cc8cb995df03f3b613215e152a80ea68c | |
parent | 843c68af145cd5a24eabc5ac89ecc81423ad3024 (diff) |
Make spec variable local
-rw-r--r-- | digilines/internal.lua | 4 |
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 |