1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Bring up to date.

This commit is contained in:
smoogipooo 2017-04-21 20:10:14 +09:00
parent cf0fdbcfb3
commit f750325aa1

View File

@ -103,16 +103,11 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
if (tickSpacing > 0 && osuDuration < 2 * speedAdjustedBeatLength)
{
var allSamples = new List<List<SampleInfo>>();
List<List<SampleInfo>> allSamples;
if (curveData != null)
{
allSamples.Add(curveData.HeadSamples);
allSamples.AddRange(curveData.RepeatSamples);
allSamples.Add(curveData.TailSamples);
}
allSamples = curveData.RepeatSamples;
else
allSamples.Add(samples);
allSamples = new List<List<SampleInfo>> { samples };
int i = 0;
for (double j = obj.StartTime; j <= obj.StartTime + taikoDuration + tickSpacing / 8; j += tickSpacing)