forked from minetest-mods/mesecons
		
	Fix bug in mesecon.find_receptor that caused false turnoffs and rewrite lever +
switch
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user