mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:07:52 +08:00
More correctly handle StrongNestedHitObject
s
This commit is contained in:
parent
e87cf6d256
commit
c98abf1723
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user