From d325292291ebc0bdb10ebc73b235b9569842e003 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 1 Sep 2014 21:12:11 -0400 Subject: [PATCH] use the right mesecon:receptor_* call for on/off blinkyplant --- mesecons_blinkyplant/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua index 39dcc67..f0ab81f 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -87,11 +87,12 @@ minetest.register_abm({ action = function(pos, node, active_object_count, active_object_count_wider) if node.name == "mesecons_blinkyplant:blinky_plant_off" then minetest.add_node(pos, {name="mesecons_blinkyplant:blinky_plant_on"}) + mesecon:receptor_on(pos) else minetest.add_node(pos, {name="mesecons_blinkyplant:blinky_plant_off"}) + mesecon:receptor_off(pos) end nodeupdate(pos) - mesecon:receptor_on(pos) end, })