Make spec variable local

This commit is contained in:
Jeija 2014-04-24 22:56:10 +02:00
parent 843c68af14
commit d674101936
1 changed files with 2 additions and 2 deletions

View File

@ -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