AP_Scripting: Fix bug with local variable
This commit is contained in:
parent
7dbc1690e9
commit
10f355b05b
@ -911,7 +911,7 @@ function update()
|
||||
save_parameters(arg1, arg2)
|
||||
done = true
|
||||
else
|
||||
local done = not do_path(command_table[cmd][1], initial_yaw_deg, arg1, arg2)
|
||||
done = not do_path(command_table[cmd][1], initial_yaw_deg, arg1, arg2)
|
||||
end
|
||||
if done then
|
||||
vehicle:nav_script_time_done(last_id)
|
||||
|
Loading…
Reference in New Issue
Block a user