mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 13:42:55 +08:00
Merge pull request #1125 from swoolcock/fix-duplicate-difficulty-control-points
Fix duplicate DifficultyControlPoints breaking slider velocities
This commit is contained in:
commit
5c84dd1dab
@ -331,6 +331,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
|
|
||||||
if (speedMultiplier != difficultyPoint.SpeedMultiplier)
|
if (speedMultiplier != difficultyPoint.SpeedMultiplier)
|
||||||
{
|
{
|
||||||
|
beatmap.ControlPointInfo.DifficultyPoints.RemoveAll(x => x.Time == time);
|
||||||
beatmap.ControlPointInfo.DifficultyPoints.Add(new DifficultyControlPoint
|
beatmap.ControlPointInfo.DifficultyPoints.Add(new DifficultyControlPoint
|
||||||
{
|
{
|
||||||
Time = time,
|
Time = time,
|
||||||
|
Loading…
Reference in New Issue
Block a user