mirror of https://github.com/ppy/osu
Fix ticks causing hold note misses
This commit is contained in:
parent
deb172bb6c
commit
6f93df0b9d
|
@ -48,14 +48,14 @@ private IEnumerable<DrawableHitObject> enumerateHitObjectsUpTo(double targetTime
|
|||
{
|
||||
foreach (var obj in hitObjectContainer.AliveObjects)
|
||||
{
|
||||
if (obj.HitObject.StartTime >= targetTime)
|
||||
if (obj.HitObject.GetEndTime() >= targetTime)
|
||||
yield break;
|
||||
|
||||
yield return obj;
|
||||
|
||||
foreach (var nestedObj in obj.NestedHitObjects)
|
||||
{
|
||||
if (nestedObj.HitObject.StartTime >= targetTime)
|
||||
if (nestedObj.HitObject.GetEndTime() >= targetTime)
|
||||
break;
|
||||
|
||||
yield return nestedObj;
|
||||
|
|
Loading…
Reference in New Issue