1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Use Array.Empty<>

This commit is contained in:
smoogipoo 2020-08-20 22:51:52 +09:00
parent f1e0946603
commit 54a2322090

View File

@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Mania.Mods
Column = column.Key,
StartTime = locations[i].startTime,
Duration = duration,
NodeSamples = new List<IList<HitSampleInfo>> { locations[i].samples, new List<HitSampleInfo>() }
NodeSamples = new List<IList<HitSampleInfo>> { locations[i].samples, Array.Empty<HitSampleInfo>() }
});
}