diff options
Diffstat (limited to 'homedecor/bathroom_furniture.lua')
-rw-r--r-- | homedecor/bathroom_furniture.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/homedecor/bathroom_furniture.lua b/homedecor/bathroom_furniture.lua index 585327b..0e839fd 100644 --- a/homedecor/bathroom_furniture.lua +++ b/homedecor/bathroom_furniture.lua @@ -137,13 +137,13 @@ local old_to_color = { minetest.register_lbm({ name = "homedecor:convert_bathroom_tiles", label = "Convert bathroom tiles to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_static_bathroom_tiles, action = function(pos, node) local name = node.name local newname = "homedecor:bathroom_tiles_light" - local a,b = string.find(node.name, "_") - local color = string.sub(node.name, a + 1) + local a = string.find(name, "_") + local color = string.sub(name, a + 1) if color == "tan" then color = "yellow_s50" |