diff --git a/move_controller/flycontroller.lua b/move_controller/flycontroller.lua index 657b21e..efe34db 100644 --- a/move_controller/flycontroller.lua +++ b/move_controller/flycontroller.lua @@ -156,14 +156,14 @@ minetest.register_node("techage:ta5_flycontroller", { sounds = default.node_sound_wood_defaults(), }) -local INFO = [[Commands: 'status', 'a2b', 'b2a', 'move']] +local INFO = [[Commands: 'state', 'a2b', 'b2a', 'move']] techage.register_node({"techage:ta5_flycontroller"}, { on_recv_message = function(pos, src, topic, payload) local nvm = techage.get_nvm(pos) if topic == "info" then return INFO - elseif topic == "status" then + elseif topic == "state" then return nvm.running and "running" or "stopped" elseif topic == "a2b" then nvm.moveBA = true