Skip to content

Commit

Permalink
Revert "fix(api): set origin/destination for api"
Browse files Browse the repository at this point in the history
This reverts commit 523b5ee.
  • Loading branch information
Revyn112 committed Nov 11, 2023
1 parent d6ec1b0 commit 949909d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ class FMCMainDisplay extends BaseAirliners {
if (!this.managedSpeedCruiseIsPilotEntered) {
this.managedSpeedCruise = this.getCrzManagedSpeedFromCostIndex();
}

this.managedSpeedDescend = this.getDesManagedSpeedFromCostIndex();
}

Expand Down Expand Up @@ -2116,8 +2116,6 @@ class FMCMainDisplay extends BaseAirliners {
if (!airportFrom || !airportTo) {
throw NXSystemMessages.notInDatabase;
}
NXDataStore.set("PLAN_ORIGIN", from);
NXDataStore.set("PLAN_DESTINATION", to);
} catch (e) {
console.log(e);
throw NXSystemMessages.notInDatabase;
Expand Down Expand Up @@ -3777,7 +3775,7 @@ class FMCMainDisplay extends BaseAirliners {
}
return true;
}

const spd = parseInt(s);
if (!Number.isFinite(spd)) {
this.setScratchpadMessage(NXSystemMessages.formatError);
Expand Down

0 comments on commit 949909d

Please sign in to comment.