mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Make walls connect with torches again
This commit is contained in:
parent
e203d86314
commit
1fa69536c6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ local function update_wall(pos)
|
|||
-- Torches or walkable nodes above the wall
|
||||
local upnode = minetest.get_node({x = pos.x, y = pos.y+1, z = pos.z})
|
||||
if sum == 5 or sum == 10 then
|
||||
if minetest.registered_nodes[upnode.name].walkable or upnode.name == "mcl_torches:floor" then
|
||||
if minetest.registered_nodes[upnode.name].walkable or upnode.name == "mcl_torches:torch" then
|
||||
sum = sum + 11
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue