From 5fa617849978293bf6a52425776ce9f7599bd159 Mon Sep 17 00:00:00 2001 From: David G Date: Sat, 19 Jan 2019 15:55:36 -0700 Subject: [PATCH] Don't build side walls on track. --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index f0b800a..f967c61 100644 --- a/init.lua +++ b/init.lua @@ -6,7 +6,7 @@ -- by David G (kestral246@gmail.com) -- and by Mikola --- Version 2.0-pre-12 - 2019-01-19 +-- Version 2.0-pre-13 - 2019-01-19 -- Controls for operation ------------------------- @@ -329,7 +329,7 @@ region = { if string.match(name, "water") then minetest.set_node(pos, {name = glass_walls}) -- Always line water with glass. elseif user_config[pname].add_lined_tunnels then -- Line tunnel ... - if not (name == "air" or name == glass_walls or name == "default:snow" or is_flammable(name)) then -- except for these. + if not (name == "air" or name == glass_walls or name == "default:snow" or is_flammable(name) or string.match(name, "dtrack")) then -- except for these. minetest.set_node(pos, {name = lining_material(user,pos)}) end end