Skip to content

Commit

Permalink
AP_Scripting: fixes trick announcements on 2nd run in plane_aerobasti…
Browse files Browse the repository at this point in the history
…cs.lua

thanks to Henry for finding this!
  • Loading branch information
tridge committed Oct 23, 2023
1 parent 2ec8769 commit 13d5668
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2434,6 +2434,8 @@ function do_path()
path_var.ss_angle_filt = 0.0
path_var.last_rate_override = 0

path.highest_i = 0

-- get initial tangent
local p1, _ = rotate_path(path, path_var.path_t + 0.1/(path_var.total_time*LOOP_RATE),
path_var.initial_ori, path_var.initial_ef_pos)
Expand Down

0 comments on commit 13d5668

Please sign in to comment.