Mesecons: fixed bug in blinky plant

master
Pitriss 2014-11-24 11:11:10 +01:00
parent dd899104b7
commit eb4bb45856
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_on", {
state = mesecon.state.on
}},
on_punch = function(pos, node, puncher)
mesecon:swap_node(pos, "mesecons_blinkyplant:blinky_plant")
mesecon:receptor_off(pos)
minetest.set_node(pos, {name="mesecons_blinkyplant:blinky_plant"})
mesecon.receptor_off(pos)
end
})