Skip to content

Commit

Permalink
Do not reset conductor param2 on place (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
Desour authored and numberZero committed Oct 3, 2017
1 parent fa58607 commit 1f56016
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesecons/services.lua
Expand Up @@ -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

Expand Down

0 comments on commit 1f56016

Please sign in to comment.