1
0
Fork 0

Fix DCT routing simbrief parser

This commit is contained in:
legoboyvdlp R 2020-08-07 12:44:22 +01:00
parent e48e060ef6
commit 1b9c2667bf

View file

@ -82,6 +82,7 @@ var SimbriefParser = {
});
me.store1 = me.OFP.getChild("navlog").getChildren();
if (size(me.store1) != 0) {
var firstIsSID = 0;
var SIDID = "";
if (me.store1[0].getChild("is_sid_star").getValue() == 1) {
@ -131,6 +132,7 @@ var SimbriefParser = {
}
fmgc.flightPlanController.flightplans[3].sid = fmgc.flightPlanController.flightplans[3].departure.getSid(SIDID);
fmgc.flightPlanController.flightplans[3].star = fmgc.flightPlanController.flightplans[3].destination.getStar(STARID);
}
fmgc.flightPlanController.destroyTemporaryFlightPlan(3, 1);
fmgc.windController.updatePlans();