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

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);
}