Skip to content

Commit

Permalink
DriveCommands.score() cancels self
Browse files Browse the repository at this point in the history
  • Loading branch information
AvidCoder27 committed Dec 6, 2024
1 parent 2442f93 commit 0fc9511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/team5115/commands/DriveCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static Command score(Dispenser dispenser, Arm arm, Drivetrain drivetrain)
return drivetrain
.alignPoseA()
.andThen(quickScore(dispenser, arm, drivetrain))
.withInterruptBehavior(InterruptionBehavior.kCancelIncoming);
.withInterruptBehavior(InterruptionBehavior.kCancelSelf);
}

public static Command quickScore(Dispenser dispenser, Arm arm, Drivetrain drivetrain) {
Expand Down

0 comments on commit 0fc9511

Please sign in to comment.