1
0
Fork 0

Simbrief parser: round tropopause

This commit is contained in:
Jonathan Redpath 2021-10-30 15:45:52 +01:00
parent 4b02640e88
commit 7cf3684b5b

View file

@ -270,7 +270,7 @@ var SimbriefParser = {
fmgc.FMGCInternal.costIndex = me.OFP.getNode("general/costindex").getValue();
fmgc.FMGCInternal.costIndexSet = 1;
fmgc.FMGCNodes.costIndex.setValue(fmgc.FMGCInternal.costIndex);
fmgc.FMGCInternal.tropo = me.OFP.getNode("general/avg_tropopause").getValue();
fmgc.FMGCInternal.tropo = math.round(me.OFP.getNode("general/avg_tropopause").getValue(), 10);
fmgc.FMGCInternal.tropoSet = 1;
# Set cruise altitude