diff --git a/libraries/AP_Scripting/examples/glide_into_wind.lua b/libraries/AP_Scripting/examples/glide_into_wind.lua index c3138216732132..74a5fdf67eb6fe 100644 --- a/libraries/AP_Scripting/examples/glide_into_wind.lua +++ b/libraries/AP_Scripting/examples/glide_into_wind.lua @@ -219,6 +219,7 @@ function update() else -- Do not trigger glide into wind, require new heart beats to get here again fs_state = "CANCELED" + end end -- State TRIGGERED elseif fs_state == "TRIGGERED" then