mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Fix slider length calculation including slider head
This commit is contained in:
parent
1acfc1bbab
commit
bc197a88e1
@ -102,7 +102,8 @@ namespace osu.Game.Rulesets.Osu.OsuDifficulty.Preprocessing
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var scoringTimes = slider.NestedHitObjects.Select(t => t.StartTime);
|
// Skip the head circle
|
||||||
|
var scoringTimes = slider.NestedHitObjects.Skip(1).Select(t => t.StartTime);
|
||||||
foreach (var time in scoringTimes)
|
foreach (var time in scoringTimes)
|
||||||
computeVertex(time);
|
computeVertex(time);
|
||||||
computeVertex(slider.EndTime);
|
computeVertex(slider.EndTime);
|
||||||
|
Loading…
Reference in New Issue
Block a user