Fix notes not being added to list

This commit is contained in:
Dan Balasescu 2022-08-15 21:54:23 +09:00
parent 4d4ee05981
commit c03e47317a
1 changed files with 5 additions and 4 deletions

View File

@ -86,11 +86,12 @@ public TaikoDifficultyHitObject(HitObject hitObject, HitObject lastObject, HitOb
rimHitObjects.Add(this);
monoDifficultyHitObjects = rimHitObjects;
break;
}
default:
NoteIndex = noteObjects.Count;
noteObjects.Add(this);
break;
if (hitObject is Hit)
{
NoteIndex = noteObjects.Count;
noteObjects.Add(this);
}
}