tube bugfix

master
Joachim Stolberg 2018-10-14 13:27:44 +02:00
parent 0ed266f622
commit bc55f49625
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function tubelib.get_neighbor_pos(pos, side)
if ndir then
npos, ndir = remote_node(npos, ndir)
end
return npos, ndir-1
return npos, (ndir or 1) -1
end
return npos, facedir
end