1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 20:02:57 +08:00

Merge pull request #1125 from swoolcock/fix-duplicate-difficulty-control-points

Fix duplicate DifficultyControlPoints breaking slider velocities
This commit is contained in:
Dan Balasescu 2017-08-18 13:41:36 +09:00 committed by GitHub
commit 5c84dd1dab

View File

@ -331,6 +331,7 @@ namespace osu.Game.Beatmaps.Formats
if (speedMultiplier != difficultyPoint.SpeedMultiplier)
{
beatmap.ControlPointInfo.DifficultyPoints.RemoveAll(x => x.Time == time);
beatmap.ControlPointInfo.DifficultyPoints.Add(new DifficultyControlPoint
{
Time = time,