mirror of https://github.com/ppy/osu
Fix a few usages of AllJudged possibly not being correct
This commit is contained in:
parent
25d4445543
commit
bfdfb52666
|
@ -150,7 +150,7 @@ public bool OnReleased(ManiaAction action)
|
|||
holdStartTime = null;
|
||||
|
||||
// If the key has been released too early, the user should not receive full score for the release
|
||||
if (!tail.AllJudged)
|
||||
if (!tail.IsHit)
|
||||
hasBroken = true;
|
||||
|
||||
return true;
|
||||
|
|
|
@ -81,7 +81,7 @@ protected override void CheckForJudgements(bool userTriggered, double timeOffset
|
|||
if (timeOffset < 0)
|
||||
return;
|
||||
|
||||
int countHit = NestedHitObjects.Count(o => o.AllJudged);
|
||||
int countHit = NestedHitObjects.Count(o => o.IsHit);
|
||||
|
||||
if (countHit > HitObject.RequiredGoodHits)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue