Skip to content
Permalink
Browse files

Do not reset conductor param2 on place (#364)

  • Loading branch information
Desour authored and numberZero committed Oct 3, 2017
1 parent fa58607 commit 1f5601661e253c7ba4ea2c851772b14e2bd6cd3f
Showing with 2 additions and 1 deletion.
  1. +2 −1 mesecons/services.lua
@@ -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

0 comments on commit 1f56016

Please sign in to comment.