Skip to content

Commit

Permalink
Fix occassional processing error
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Feb 26, 2024
1 parent b85fcca commit 8044733
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ public override void PostProcess()

private IEnumerable<HitObject> getColorableHitObject(IReadOnlyList<HitObject> hitObjects)
{
foreach (var hitObject in hitObjects)
for (int i = 0; i < hitObjects.Count; ++i)
{
var hitObject = hitObjects[i];
if (canBeColored(hitObject)) yield return hitObject;

foreach (var nested in getColorableHitObject(hitObject.NestedHitObjects).AsEnumerable())
Expand Down

0 comments on commit 8044733

Please sign in to comment.