1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 11:42:54 +08:00

Fix working beatmaps not seeing new difficulties after add

This commit is contained in:
Bartłomiej Dach 2022-01-23 18:56:19 +01:00
parent 0d51c015ad
commit 54bb6ad40c
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -129,6 +129,8 @@ namespace osu.Game.Beatmaps
newBeatmap.ControlPointInfo.Add(timingPoint.Time, timingPoint.DeepClone());
var createdBeatmapInfo = beatmapModelManager.AddDifficultyToBeatmapSet(beatmapSetInfo, newBeatmap);
workingBeatmapCache.Invalidate(createdBeatmapInfo.BeatmapSet);
return GetWorkingBeatmap(createdBeatmapInfo);
}