Merge pull request #15255 from goodtrailer/node-samples-ilist

Change IHasRepeats.NodeSamples to IList from List
This commit is contained in:
Dean Herbert
2021-10-28 14:24:26 +09:00
committed by GitHub
13 changed files with 13 additions and 13 deletions

View File

@ -81,7 +81,7 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
{
if (shouldConvertSliderToHits(obj, beatmap, distanceData, out int taikoDuration, out double tickSpacing))
{
List<IList<HitSampleInfo>> allSamples = obj is IHasPathWithRepeats curveData ? curveData.NodeSamples : new List<IList<HitSampleInfo>>(new[] { samples });
IList<IList<HitSampleInfo>> allSamples = obj is IHasPathWithRepeats curveData ? curveData.NodeSamples : new List<IList<HitSampleInfo>>(new[] { samples });
int i = 0;