mirror of https://github.com/ppy/osu
Fix working beatmaps not seeing new difficulties after add
This commit is contained in:
parent
0d51c015ad
commit
54bb6ad40c
|
@ -129,6 +129,8 @@ public WorkingBeatmap CreateNewBlankDifficulty(BeatmapSetInfo beatmapSetInfo, Ru
|
|||
newBeatmap.ControlPointInfo.Add(timingPoint.Time, timingPoint.DeepClone());
|
||||
|
||||
var createdBeatmapInfo = beatmapModelManager.AddDifficultyToBeatmapSet(beatmapSetInfo, newBeatmap);
|
||||
|
||||
workingBeatmapCache.Invalidate(createdBeatmapInfo.BeatmapSet);
|
||||
return GetWorkingBeatmap(createdBeatmapInfo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue