Skip to content

Commit

Permalink
fix: su7 fpm SET_CURRENT_FLIGHTPLAN_INDEX fix (#6197)
Browse files Browse the repository at this point in the history
(cherry picked from commit a2e67ec)
  • Loading branch information
Benjozork committed Nov 20, 2021
1 parent db3e3d6 commit 73d5d28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ class FlightPlanManager {
return this._currentFlightPlanIndex;
}
setCurrentFlightPlanIndex(index, callback = EmptyCallback.Boolean) {
Coherent.call("SET_CURRENT_FLIGHTPLAN_INDEX", index).then(() => {
Coherent.call("SET_CURRENT_FLIGHTPLAN_INDEX", index, false).then(() => {
let attempts = 0;
const checkTrueFlightPlanIndex = () => {
Coherent.call("GET_CURRENT_FLIGHTPLAN_INDEX").then((value) => {
Expand Down

0 comments on commit 73d5d28

Please sign in to comment.