1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 05:22:54 +08:00

check if parent was hit in taiko's DrawableDrumRoll.CheckForResult

This commit is contained in:
Chandler Stowell 2024-01-25 11:30:52 -05:00
parent 93bd3ce5ae
commit 682dab5d83

View File

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