1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

More correctly handle StrongNestedHitObjects

This commit is contained in:
Dean Herbert 2023-06-30 15:38:17 +09:00
parent e87cf6d256
commit c98abf1723

View File

@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Taiko.UI
};
// strong + rim always maps to whistle.
if ((hitObject as TaikoStrongableHitObject)?.IsStrong == true)
if ((hitObject as TaikoStrongableHitObject)?.IsStrong == true || hitObject is StrongNestedHitObject)
{
samplesToPlay.Add(hitObject.CreateHitSampleInfo(hitType == HitType.Rim ? HitSampleInfo.HIT_WHISTLE : HitSampleInfo.HIT_FINISH));
}