1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

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

View File

@ -194,7 +194,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
ApplyResult(static (r, hitObject) =>
{
var drumRoll = (DrawableDrumRoll)hitObject;
var drumRoll = (StrongNestedHit)hitObject;
r.Type = drumRoll.ParentHitObject!.IsHit ? r.Judgement.MaxResult : r.Judgement.MinResult;
});
}