Fix ticks causing hold note misses

This commit is contained in:
smoogipoo 2020-08-27 21:05:12 +09:00
parent deb172bb6c
commit 6f93df0b9d
1 changed files with 2 additions and 2 deletions

View File

@ -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;