1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

Enumerate nested hit objects

This commit is contained in:
Nitrous 2024-01-10 15:27:41 +08:00
parent b74c3b1c5c
commit 72e302dfac
No known key found for this signature in database
GPG Key ID: A5D82BAEC7C1D1F5

View File

@ -83,7 +83,7 @@ namespace osu.Game.Screens.Edit.GameplayTest
{ {
foreach (var hitObject in hitObjects) foreach (var hitObject in hitObjects)
{ {
foreach (var nested in hitObject.NestedHitObjects) foreach (var nested in enumerateHitObjects(hitObject.NestedHitObjects))
yield return nested; yield return nested;
yield return hitObject; yield return hitObject;