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:
parent
93bd3ce5ae
commit
682dab5d83
@ -194,7 +194,8 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
|
|
||||||
ApplyResult(static (r, hitObject) =>
|
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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user