More concrete method to determine if all hit objects have been judged.

Covers the case where nested hit objects are involved.
This commit is contained in:
smoogipooo
2017-05-11 14:48:08 +09:00
parent 6445bea864
commit 2d2d1beddd
2 changed files with 13 additions and 3 deletions

View File

@ -189,7 +189,7 @@ namespace osu.Game.Rulesets.UI
public override IEnumerable<HitObject> Objects => Beatmap.HitObjects;
protected override bool AllObjectsJudged => drawableObjects.All(h => h.Judgement.Result != HitResult.None);
protected override bool AllObjectsJudged => drawableObjects.All(h => h.Judged);
/// <summary>
/// The playfield.