mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:45:09 +08:00
Fix working beatmaps not seeing new difficulties after add
This commit is contained in:
parent
0d51c015ad
commit
54bb6ad40c
@ -129,6 +129,8 @@ namespace osu.Game.Beatmaps
|
|||||||
newBeatmap.ControlPointInfo.Add(timingPoint.Time, timingPoint.DeepClone());
|
newBeatmap.ControlPointInfo.Add(timingPoint.Time, timingPoint.DeepClone());
|
||||||
|
|
||||||
var createdBeatmapInfo = beatmapModelManager.AddDifficultyToBeatmapSet(beatmapSetInfo, newBeatmap);
|
var createdBeatmapInfo = beatmapModelManager.AddDifficultyToBeatmapSet(beatmapSetInfo, newBeatmap);
|
||||||
|
|
||||||
|
workingBeatmapCache.Invalidate(createdBeatmapInfo.BeatmapSet);
|
||||||
return GetWorkingBeatmap(createdBeatmapInfo);
|
return GetWorkingBeatmap(createdBeatmapInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user