mirror of https://github.com/ppy/osu
Fix incorrect cast
This commit is contained in:
parent
347e88f597
commit
6cfd2813ed
|
@ -194,7 +194,7 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
|
|||
|
||||
ApplyResult(static (r, hitObject) =>
|
||||
{
|
||||
var drumRoll = (DrawableDrumRoll)hitObject;
|
||||
var drumRoll = (StrongNestedHit)hitObject;
|
||||
r.Type = drumRoll.ParentHitObject!.IsHit ? r.Judgement.MaxResult : r.Judgement.MinResult;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue