Рефактор.
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user