From 949909d9a15795b4bc13dde0e7ad74b2a0f29c95 Mon Sep 17 00:00:00 2001 From: Denis Freund Date: Sat, 11 Nov 2023 17:12:04 +0100 Subject: [PATCH] Revert "fix(api): set origin/destination for api" This reverts commit 523b5ee6fa33eae0e4e7bf5b704b2af561175be4. --- .../Airliners/Headwind_A339X/FMC/A32NX_FMCMainDisplay.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hdw-a339x/src/base/headwindsim-aircraft-a330-900/html_ui/Pages/VCockpit/Instruments/Airliners/Headwind_A339X/FMC/A32NX_FMCMainDisplay.js b/hdw-a339x/src/base/headwindsim-aircraft-a330-900/html_ui/Pages/VCockpit/Instruments/Airliners/Headwind_A339X/FMC/A32NX_FMCMainDisplay.js index 3a358b220..4cc1835b4 100644 --- a/hdw-a339x/src/base/headwindsim-aircraft-a330-900/html_ui/Pages/VCockpit/Instruments/Airliners/Headwind_A339X/FMC/A32NX_FMCMainDisplay.js +++ b/hdw-a339x/src/base/headwindsim-aircraft-a330-900/html_ui/Pages/VCockpit/Instruments/Airliners/Headwind_A339X/FMC/A32NX_FMCMainDisplay.js @@ -1126,7 +1126,7 @@ class FMCMainDisplay extends BaseAirliners { if (!this.managedSpeedCruiseIsPilotEntered) { this.managedSpeedCruise = this.getCrzManagedSpeedFromCostIndex(); } - + this.managedSpeedDescend = this.getDesManagedSpeedFromCostIndex(); } @@ -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; @@ -3777,7 +3775,7 @@ class FMCMainDisplay extends BaseAirliners { } return true; } - + const spd = parseInt(s); if (!Number.isFinite(spd)) { this.setScratchpadMessage(NXSystemMessages.formatError);