1
0
Fork 0

As the Simbrief element is representing the AOC rather than CO RTE, its not correct to set a CO RTE. But I'll leave the code there for future CO RTE support.

This commit is contained in:
legoboyvdlp R 2020-12-31 20:29:04 +00:00
parent 6a5ce3bf7d
commit 0161ebf940

View file

@ -232,8 +232,8 @@ var SimbriefParser = {
if (me.buildFlightplan() == nil) {
return nil;
}
fmgc.FMGCInternal.coRoute = "SB" ~ me.OFP.getNode("origin/iata_code").getValue() ~ me.OFP.getNode("destination/iata_code").getValue() ~ "00";
fmgc.FMGCInternal.coRouteSet = 1;
#fmgc.FMGCInternal.coRoute = "SB" ~ me.OFP.getNode("origin/iata_code").getValue() ~ me.OFP.getNode("destination/iata_code").getValue() ~ "00";
#fmgc.FMGCInternal.coRouteSet = 1;
fmgc.FMGCInternal.flightNum = (me.OFP.getNode("general/icao_airline").getValue() or "") ~ (me.OFP.getNode("general/flight_number").getValue() or "");
fmgc.FMGCInternal.flightNumSet = 1;
fmgc.FMGCInternal.costIndex = me.OFP.getNode("general/costindex").getValue();