From c82a8225637e4bf1fda867d1fe99ce4e86bb3b75 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Thu, 21 May 2020 22:36:14 +0100 Subject: [PATCH] Allow clearing of route in INITA --- Nasal/MCDU/INITA.nas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Nasal/MCDU/INITA.nas b/Nasal/MCDU/INITA.nas index 56a72db6..4fa7eedd 100644 --- a/Nasal/MCDU/INITA.nas +++ b/Nasal/MCDU/INITA.nas @@ -140,7 +140,8 @@ var initInputA = func(key, i) { setprop("FMGC/internal/align-ref-long", 0); setprop("FMGC/internal/align-ref-lat-edit", 0); setprop("FMGC/internal/align-ref-long-edit", 0); - fmgc.flightPlanController.reset(); + fmgc.flightPlanController.reset(2); + fmgc.flightPlanController.init(); setprop("MCDU[" ~ i ~ "]/scratchpad-msg", 0); mcdu.clearScratchpad(i); #} else if (scratchpad == "") {