Skip to content

Commit

Permalink
Merge pull request #625 from LumpBloom7/Fix-underholds
Browse files Browse the repository at this point in the history
Fix underhold tracker not being reset on DHO usage
  • Loading branch information
LumpBloom7 authored Sep 16, 2024
2 parents 11c313e + 1dc8ce9 commit 6f79630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableHold.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ protected override void OnApply()
{
base.OnApply();
isHolding = false;
timeNotHeld = 0;
}

protected override void UpdateInitialTransforms()
Expand Down Expand Up @@ -130,7 +131,7 @@ HitResult applyDeductionTo(HitResult originalResult)

var newResult = originalResult - deduction;

if (originalResult <= HitResult.Ok)
if (newResult <= HitResult.Ok)
return HitResult.Ok;

return newResult;
Expand Down

0 comments on commit 6f79630

Please sign in to comment.