From 2a5c60ca70c3c4d96480f60acf47246d8b894c35 Mon Sep 17 00:00:00 2001 From: Konrad Date: Tue, 10 Oct 2023 11:56:07 +0200 Subject: [PATCH] mission_base: check Climb required always on current mission item --- src/modules/navigator/mission_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/navigator/mission_base.cpp b/src/modules/navigator/mission_base.cpp index c877b061b1fd..bb03dd996a6a 100644 --- a/src/modules/navigator/mission_base.cpp +++ b/src/modules/navigator/mission_base.cpp @@ -243,7 +243,7 @@ MissionBase::on_activation() } } - checkClimbRequired(resume_index); + checkClimbRequired(_mission.current_seq); set_mission_items(); _inactivation_index = -1; // reset