Skip to content

Commit

Permalink
Fix vibration not disabling when 'Allow Vibration' is off (relates to #…
Browse files Browse the repository at this point in the history
  • Loading branch information
isXander committed Apr 20, 2024
1 parent 5d75b80 commit 6f44c19
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ public RumbleComponent() {
}

public void queueRumble(RumbleState state) {
this.state = state;
if (confObj().enabled) {
this.state = state;
}
}

public Optional<RumbleState> consumeRumble() {
Expand Down

0 comments on commit 6f44c19

Please sign in to comment.