forked from mtcontrib/homedecor_modpack
local-ize a couple of variable refs
This commit is contained in:
parent
b586285741
commit
5c918706cd
|
@ -35,7 +35,7 @@ for i in ipairs(colors) do
|
|||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local fdir = node.param2 or 0
|
||||
nfdir = dirs2[fdir+1]
|
||||
local nfdir = dirs2[fdir+1]
|
||||
minetest.add_node(pos, {name = "homedecor:glowlight_quarter_"..color, param2 = nfdir})
|
||||
end,
|
||||
})
|
||||
|
@ -46,7 +46,7 @@ for i in ipairs(colors) do
|
|||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local fdir = node.param2 or 0
|
||||
nfdir = dirs2[fdir+1]
|
||||
local nfdir = dirs2[fdir+1]
|
||||
minetest.add_node(pos, {name = "homedecor:glowlight_half_"..color, param2 = nfdir})
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user