Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Do not reset conductor param2 on place (#364)
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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 |
|
|
|
|
|