mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Fix incorrect cast
This commit is contained in:
parent
347e88f597
commit
6cfd2813ed
@ -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;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user