Difficulty cache invalidation flow

This commit is contained in:
Dean Herbert
2022-06-24 18:39:44 +09:00
parent 66a01d1ed2
commit 30b3973c9f
3 changed files with 17 additions and 0 deletions

View File

@ -61,6 +61,8 @@ namespace osu.Game.Beatmaps
var working = workingBeatmapCache.GetWorkingBeatmap(beatmap);
beatmap.Length = calculateLength(working.Beatmap);
beatmap.BPM = 60000 / working.Beatmap.GetMostCommonBeatLength();
difficultyCache.Invalidate(beatmap);
}
}