Skip to content

Commit

Permalink
fix: reset fields in AutopilotControlComputer on reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Octol1ttle committed Apr 18, 2024
1 parent 00a6626 commit ed57e27
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ public String getId() {

@Override
public void reset() {
targetPitch = null;
targetHeading = null;

autoflight.disconnectAutoFirework(true);
autoflight.disconnectAutopilot(true);
}
}

0 comments on commit ed57e27

Please sign in to comment.