1
0
Fork 0

Fix the flight number.

This commit is contained in:
legoboyvdlp R 2020-08-07 12:48:47 +01:00
parent 1b9c2667bf
commit b8c31535c4

View file

@ -35,7 +35,7 @@ var SimbriefParser = {
me.store1 = me.OFP.getChild("general"); me.store1 = me.OFP.getChild("general");
me.store2 = me.OFP.getChild("alternate"); me.store2 = me.OFP.getChild("alternate");
fmgc.FMGCInternal.flightNum = me.store1.getChild("icao_airline").getValue() or "" ~ me.store1.getChild("flight_number").getValue() or ""; fmgc.FMGCInternal.flightNum = (me.store1.getChild("icao_airline").getValue() or "") ~ (me.store1.getChild("flight_number").getValue() or "");
fmgc.FMGCInternal.flightNumSet = 1; fmgc.FMGCInternal.flightNumSet = 1;
fmgc.FMGCInternal.costIndex = me.store1.getChild("costindex").getValue(); fmgc.FMGCInternal.costIndex = me.store1.getChild("costindex").getValue();
fmgc.FMGCInternal.costIndexSet = 1; fmgc.FMGCInternal.costIndexSet = 1;