Skip to content

Commit 95dcb92

Browse files
committed
HOTFIX
1 parent 47fc8dc commit 95dcb92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/trigon/hardware/misc/XboxController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void rumble(double durationSeconds, double power) {
7777
if (stopRumbleCommand != null)
7878
stopRumbleCommand.cancel();
7979

80-
stopRumbleCommand = new WaitCommand(durationSeconds).andThen(() -> getHID().setRumble(GenericHID.RumbleType.kBothRumble, 0));
80+
stopRumbleCommand = new WaitCommand(durationSeconds).andThen(() -> getHID().setRumble(GenericHID.RumbleType.kBothRumble, 0)).ignoringDisable(true);
8181
stopRumbleCommand.schedule();
8282

8383
getHID().setRumble(GenericHID.RumbleType.kBothRumble, power);

0 commit comments

Comments
 (0)