Fix incorrect cast

This commit is contained in:
Dean Herbert 2024-01-26 16:52:03 +09:00
parent 347e88f597
commit 6cfd2813ed
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
ApplyResult(static (r, hitObject) => ApplyResult(static (r, hitObject) =>
{ {
var drumRoll = (DrawableDrumRoll)hitObject; var drumRoll = (StrongNestedHit)hitObject;
r.Type = drumRoll.ParentHitObject!.IsHit ? r.Judgement.MaxResult : r.Judgement.MinResult; r.Type = drumRoll.ParentHitObject!.IsHit ? r.Judgement.MaxResult : r.Judgement.MinResult;
}); });
} }