forked from minetest-mods/digilines
Make spec variable local
This commit is contained in:
parent
843c68af14
commit
d674101936
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user