Rename F-PLN-rework --> F-PLN.nas
This commit is contained in:
parent
9d7d885ccb
commit
9a929f90d6
3 changed files with 1 additions and 4 deletions
|
@ -1917,7 +1917,7 @@
|
|||
<file>Aircraft/A320-family/Nasal/MCDU/VERTREV.nas</file> <!-- dynamic page - init before MCDU -->
|
||||
<file>Aircraft/A320-family/Nasal/MCDU/DEPARTURE.nas</file> <!-- dynamic page - init before MCDU -->
|
||||
<file>Aircraft/A320-family/Nasal/MCDU/ARRIVAL.nas</file> <!-- dynamic page - init before MCDU -->
|
||||
<file>Aircraft/A320-family/Nasal/MCDU/F-PLN-rework.nas</file> <!-- dynamic page - init before MCDU -->
|
||||
<file>Aircraft/A320-family/Nasal/MCDU/F-PLN.nas</file> <!-- dynamic page - init before MCDU -->
|
||||
<file>Aircraft/A320-family/Nasal/MCDU/MCDU.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/MCDU/INITA.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/MCDU/INITB.nas</file>
|
||||
|
|
|
@ -164,12 +164,9 @@ var flightPlanController = {
|
|||
me.deleteWP(0, plan);
|
||||
} else {
|
||||
var timesToDelete = me.flightplans[plan].indexOfWP(waypointGhost); # delete four times, so on last iteration it equals one and then goes to zero, leave it without subtracting one
|
||||
print(timesToDelete);
|
||||
while (timesToDelete > 1) {
|
||||
print(timesToDelete);
|
||||
me.deleteWP(1, plan, 1);
|
||||
timesToDelete -= 1;
|
||||
print(timesToDelete);
|
||||
}
|
||||
me.insertTP(plan);
|
||||
# we want to delete the intermediate waypoints up to but not including the waypoint. Leave index 0, we delete it later.
|
||||
|
|
Loading…
Add table
Reference in a new issue