mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
Fix flourish sample not playing if strong hits are hit early
This commit is contained in:
parent
fee56ac6d2
commit
ba0cd7a3f2
@ -66,7 +66,10 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Argon
|
||||
if (canFlourish)
|
||||
lastFlourish = h.StartTime;
|
||||
|
||||
if (h == hitObject)
|
||||
// hitObject can be either the strong hit itself (if hit late), or its nested strong object (if hit early)
|
||||
// due to `GetMostValidObject()` idiosyncrasies.
|
||||
// whichever it is, if we encounter it during iteration, stop looking.
|
||||
if (h == hitObject || h.NestedHitObjects.Contains(hitObject))
|
||||
return canFlourish;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user