Do not reset conductor param2 on place (#364)

This commit is contained in:
DS 2017-10-03 23:55:33 +02:00 committed by Vitaliy
parent fa58607546
commit 1f5601661e

View File

@ -21,7 +21,8 @@ mesecon.on_placenode = function(pos, node)
end
--mesecon.receptor_on (pos, mesecon.conductor_get_rules(node))
elseif mesecon.is_conductor_on(node) then
minetest.swap_node(pos, {name = mesecon.get_conductor_off(node)})
node.name = mesecon.get_conductor_off(node)
minetest.swap_node(pos, node)
end
end