Fix bug in mesecon.find_receptor that caused false turnoffs and rewrite lever +

switch
This commit is contained in:
Jeija
2014-11-22 20:49:54 +01:00
parent a550323fea
commit 80d136125e
5 changed files with 62 additions and 71 deletions

View File

@ -61,6 +61,7 @@ local vertical_updatepos = function (pos)
else -- no vertical wire above, no vertical wire below: use bottom
minetest.add_node(pos, {name = basename .. "bottom_" .. namestate})
end
mesecon.update_autoconnect(pos)
end
end