Skip to content

Commit

Permalink
Fix late slider hit check not using late hit threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Mar 1, 2025
1 parent 6d50320 commit dc21012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ru/nsu/ccfit/zuev/osu/game/GameplaySlider.java
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ private void onSliderHeadHit(double hitOffset) {
float mehWindow = hitWindow.getMehWindow() / 1000;

if (replayObjectData == null || GameHelper.getReplayVersion() >= 6 || mehWindow <= duration) {
if (-mehWindow <= hitOffset && hitOffset <= mehWindow) {
if (-mehWindow <= hitOffset && hitOffset <= getLateHitThreshold()) {
listener.registerAccuracy(hitOffset);
playCurrentNestedObjectHitSound();
ticksGot++;
Expand Down

0 comments on commit dc21012

Please sign in to comment.