Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed another bug
Browse files Browse the repository at this point in the history
Fixed another bug
Sour-o7 committed Mar 3, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 40b3f97 commit 1f19381
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -33,16 +33,16 @@ public void onTick()
if (accumulationEnabled())
{
if (vibrationCountdown > 0)
vibrationCountdown--;
vibrationCountdown =- Math.max(0, vibrationCountdown - MinegasmConfig.tickFrequency);
else if (intensity > 0) {
intensity = Math.max(0, intensity - 5);
vibrationCountdown = streakCountdownAmount * MinegasmConfig.ticksPerSecond;
}
} else {
vibrationCountdown = Math.max(0, vibrationCountdown - 1);
vibrationCountdown = Math.max(0, vibrationCountdown - MinegasmConfig.tickFrequency);
}

vibrationFeedbackCountdown = Math.max(0, vibrationFeedbackCountdown - 1);
vibrationFeedbackCountdown = Math.max(0, vibrationFeedbackCountdown - MinegasmConfig.tickFrequency);
}

public void resetState()

0 comments on commit 1f19381

Please sign in to comment.