From 06e53b024209be840adda182206f6bcc2cd7d278 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 16 May 2018 20:10:43 -0400 Subject: [PATCH] GIT: Revert --- Nasal/MCDU1/INITA.nas | 2 +- Nasal/MCDU1/PERFCLB.nas | 2 +- Nasal/MCDU2/INITA.nas | 2 +- Nasal/MCDU2/PERFCLB.nas | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Nasal/MCDU1/INITA.nas b/Nasal/MCDU1/INITA.nas index 6413d6e2..488a4b27 100644 --- a/Nasal/MCDU1/INITA.nas +++ b/Nasal/MCDU1/INITA.nas @@ -42,7 +42,7 @@ var initInputA = func(key) { } setprop("/MCDU[0]/scratchpad-msg", "1"); setprop("/MCDU[0]/scratchpad", "NOT ALLOWED"); - } else if (ci >= 0 and ci <= 120) { + } else if (ci >= 0 and ci <= 999) { setprop("/FMGC/internal/cost-index", ci); setprop("/FMGC/internal/cost-index-set", 1); setprop("/MCDU[0]/scratchpad", ""); diff --git a/Nasal/MCDU1/PERFCLB.nas b/Nasal/MCDU1/PERFCLB.nas index e355a55a..4d0f9985 100644 --- a/Nasal/MCDU1/PERFCLB.nas +++ b/Nasal/MCDU1/PERFCLB.nas @@ -22,7 +22,7 @@ var perfCLBInput = func(key) { } setprop("/MCDU[0]/scratchpad-msg", "1"); setprop("/MCDU[0]/scratchpad", "NOT ALLOWED"); - } else if (ci >= 0 and ci <= 120) { + } else if (ci >= 0 and ci <= 999) { setprop("/FMGC/internal/cost-index", ci); setprop("/FMGC/internal/cost-index-set", 1); setprop("/MCDU[0]/scratchpad", ""); diff --git a/Nasal/MCDU2/INITA.nas b/Nasal/MCDU2/INITA.nas index 93c4eba9..3c546451 100644 --- a/Nasal/MCDU2/INITA.nas +++ b/Nasal/MCDU2/INITA.nas @@ -42,7 +42,7 @@ var initInputA = func(key) { } setprop("/MCDU[1]/scratchpad-msg", "1"); setprop("/MCDU[1]/scratchpad", "NOT ALLOWED"); - } else if (ci >= 0 and ci <= 120) { + } else if (ci >= 0 and ci <= 999) { setprop("/FMGC/internal/cost-index", ci); setprop("/FMGC/internal/cost-index-set", 1); setprop("/MCDU[1]/scratchpad", ""); diff --git a/Nasal/MCDU2/PERFCLB.nas b/Nasal/MCDU2/PERFCLB.nas index 96ec78df..1a4c8c46 100644 --- a/Nasal/MCDU2/PERFCLB.nas +++ b/Nasal/MCDU2/PERFCLB.nas @@ -22,7 +22,7 @@ var perfCLBInput = func(key) { } setprop("/MCDU[1]/scratchpad-msg", "1"); setprop("/MCDU[1]/scratchpad", "NOT ALLOWED"); - } else if (ci >= 0 and ci <= 120) { + } else if (ci >= 0 and ci <= 999) { setprop("/FMGC/internal/cost-index", ci); setprop("/FMGC/internal/cost-index-set", 1); setprop("/MCDU[1]/scratchpad", "");