Mission: bug fix for loading consecutive do-cmds
The verify step was not being run for the 2nd consecutive do-command in a mission list
This commit is contained in:
parent
edab06a3ff
commit
48329c1bba
@ -884,6 +884,7 @@ void AP_Mission::advance_current_do_cmd()
|
||||
if (get_next_do_cmd(cmd_index, cmd)) {
|
||||
// set current do command and start it
|
||||
_do_cmd = cmd;
|
||||
_flags.do_cmd_loaded = true;
|
||||
_cmd_start_fn(_do_cmd);
|
||||
}else{
|
||||
// set flag to stop unnecessarily searching for do commands
|
||||
|
Loading…
Reference in New Issue
Block a user