mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 23:10:18 +01:00
Undeclared var in LBM
This commit is contained in:
parent
bea9915a94
commit
c6636efec1
|
@ -79,6 +79,7 @@ function stairsplus:register_micro_xdecor_alias(modname_old, subname_old, modnam
|
|||
nodenames = {modname_old .. ":" .. subname_old .. "_nanoslab", modname_old .. ":" .. subname_old .."_cube"},
|
||||
run_at_every_load = false,
|
||||
action = function(pos, node)
|
||||
local nodename
|
||||
if modname_old .. ":" .. subname_old .. "_nanoslab" == node.name then
|
||||
nodename = modname_new .. ":micro_" .. subname_new .. "_1"
|
||||
else
|
||||
|
|
|
@ -79,6 +79,7 @@ function stairsplus:register_panels_xdecor_alias(modname_old, subname_old, modna
|
|||
nodenames = {modname_old .. ":" .. subname_old .. "_micropanel", modname_old .. ":" .. subname_old .. "_panel"},
|
||||
run_at_every_load = false,
|
||||
action = function(pos, node)
|
||||
local nodename
|
||||
if modname_old .. ":" .. subname_old .. "_micropanel" == node.name then
|
||||
nodename = modname_new .. ":panel_" .. subname_new .. "_1"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user