Populate new approach rate where required

This commit is contained in:
Dean Herbert
2021-09-01 18:19:25 +09:00
parent d4e5a612ea
commit d587dc6203
7 changed files with 19 additions and 17 deletions

View File

@ -184,7 +184,7 @@ namespace osu.Game.Beatmaps.Formats
SampleControlPoint lastRelevantSamplePoint = null;
DifficultyControlPoint lastRelevantDifficultyPoint = null;
// iterate over hitobjects and pull out all required sample changes
// iterate over hitobjects and pull out all required sample and difficulty changes
foreach (var h in beatmap.HitObjects)
{
var hSamplePoint = h.SampleControlPoint;
@ -202,6 +202,8 @@ namespace osu.Game.Beatmaps.Formats
lastRelevantSamplePoint = hSamplePoint;
}
}
// TODO: we need to pull out approach rate from EffectControlPoint and shove it in with difficulty points where necessary...
}
foreach (var group in beatmap.ControlPointInfo.Groups)