diff --git a/scenes/frame-ecm-list/frm-ecm-list.gd b/scenes/frame-ecm-list/frm-ecm-list.gd index 9b4f806..25dbf75 100644 --- a/scenes/frame-ecm-list/frm-ecm-list.gd +++ b/scenes/frame-ecm-list/frm-ecm-list.gd @@ -25,7 +25,7 @@ func on_btn_cancel_pressed(btn, nodes): signaller.emit_signal('interfer_off_all') await get_tree().create_timer(0.1).timeout btn.pressed = false - nodes.any(func(btn): btn.pressed = false) + nodes.any(func(b): b.pressed = false) func on_btn_pressed(btn_this, btn_others): diff --git a/scripts/interfer.gd b/scripts/interfer.gd index f7c5abf..d7cec24 100644 --- a/scripts/interfer.gd +++ b/scripts/interfer.gd @@ -130,11 +130,6 @@ func on_timer_check_state(unit, ecms, resend_timeout): send_ecm(ecm, unit) ecm.tick_tx = tick -func on_manual_control(): - auto_status = 0 - -func on_full_auto(): - auto_status = 3 func on_manual_control(): auto_status = 0