Skip to content

Commit

Permalink
fix(a380x/fms): fix console error when calling newCityPair (#9115)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueberryKing authored Nov 16, 2024
1 parent df32cbb commit fa46681
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,12 @@ export class FlightManagementComputer implements FmcInterface {
const db = new NavigationDatabase(NavigationDatabaseBackend.Msfs);
NavigationDatabaseService.activeDatabase = db;

this.flightPlanService.createFlightPlans();

// FIXME implement sync between FMCs and also let FMC-B and FMC-C compute
if (this.instance === FmcIndex.FmcA) {
this.acInterface = new FmcAircraftInterface(this.bus, this, this.fmgc, this.flightPlanService);

this.flightPlanService.createFlightPlans();
this.#guidanceController = new GuidanceController(
this.bus,
this.fmgc,
Expand Down

0 comments on commit fa46681

Please sign in to comment.