Skip to content

Commit

Permalink
Fixing DH > 1
Browse files Browse the repository at this point in the history
Trying to resolve issue flybywiresim#9114
  • Loading branch information
thomasshrm authored Oct 22, 2024
1 parent bc3d1cc commit 0e2cc8c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,8 @@ export class MfdFmsPerf extends FmsPage<MfdFmsPerfProps> {
SimVar.SetSimVarValue('L:AIRLINER_DECISION_HEIGHT', 'feet', -1);
} else if (v === null) {
SimVar.SetSimVarValue('L:AIRLINER_DECISION_HEIGHT', 'feet', -2);
} else if (v > 1) {
SimVar.SetSimVarValue('L:AIRLINER_DECISION_HEIGHT', 'feet', -1);
} else {
SimVar.SetSimVarValue('L:AIRLINER_DECISION_HEIGHT', 'feet', v);
}
Expand Down

0 comments on commit 0e2cc8c

Please sign in to comment.