diff --git a/Nasal/MCDU1/INITA.nas b/Nasal/MCDU1/INITA.nas index 488a4b27..6413d6e2 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 <= 999) { + } else if (ci >= 0 and ci <= 120) { 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 4d0f9985..e355a55a 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 <= 999) { + } else if (ci >= 0 and ci <= 120) { 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 3c546451..93c4eba9 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 <= 999) { + } else if (ci >= 0 and ci <= 120) { 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 1a4c8c46..96ec78df 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 <= 999) { + } else if (ci >= 0 and ci <= 120) { setprop("/FMGC/internal/cost-index", ci); setprop("/FMGC/internal/cost-index-set", 1); setprop("/MCDU[1]/scratchpad", ""); diff --git a/revision.txt b/revision.txt index ae43bea8..24db3756 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4322 \ No newline at end of file +4323 \ No newline at end of file