mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Fix ticks causing hold note misses
This commit is contained in:
parent
deb172bb6c
commit
6f93df0b9d
@ -48,14 +48,14 @@ namespace osu.Game.Rulesets.Mania.UI
|
|||||||
{
|
{
|
||||||
foreach (var obj in hitObjectContainer.AliveObjects)
|
foreach (var obj in hitObjectContainer.AliveObjects)
|
||||||
{
|
{
|
||||||
if (obj.HitObject.StartTime >= targetTime)
|
if (obj.HitObject.GetEndTime() >= targetTime)
|
||||||
yield break;
|
yield break;
|
||||||
|
|
||||||
yield return obj;
|
yield return obj;
|
||||||
|
|
||||||
foreach (var nestedObj in obj.NestedHitObjects)
|
foreach (var nestedObj in obj.NestedHitObjects)
|
||||||
{
|
{
|
||||||
if (nestedObj.HitObject.StartTime >= targetTime)
|
if (nestedObj.HitObject.GetEndTime() >= targetTime)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
yield return nestedObj;
|
yield return nestedObj;
|
||||||
|
Loading…
Reference in New Issue
Block a user