1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:20:04 +08:00

Fix invalid method reference in comment

`BeatmapModelManager.Save()` was moved to `BeatmapManager`, not to
`BeatmapImporter`.
This commit is contained in:
Bartłomiej Dach 2022-06-16 12:01:53 +02:00
parent 8a5755ca52
commit a635664a86
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -174,7 +174,7 @@ namespace osu.Game.Beatmaps
private WorkingBeatmap addDifficultyToSet(BeatmapSetInfo targetBeatmapSet, IBeatmap newBeatmap, ISkin beatmapSkin) private WorkingBeatmap addDifficultyToSet(BeatmapSetInfo targetBeatmapSet, IBeatmap newBeatmap, ISkin beatmapSkin)
{ {
// populate circular beatmap set info <-> beatmap info references manually. // populate circular beatmap set info <-> beatmap info references manually.
// several places like `BeatmapImporter.Save()` or `GetWorkingBeatmap()` // several places like `Save()` or `GetWorkingBeatmap()`
// rely on them being freely traversable in both directions for correct operation. // rely on them being freely traversable in both directions for correct operation.
targetBeatmapSet.Beatmaps.Add(newBeatmap.BeatmapInfo); targetBeatmapSet.Beatmaps.Add(newBeatmap.BeatmapInfo);
newBeatmap.BeatmapInfo.BeatmapSet = targetBeatmapSet; newBeatmap.BeatmapInfo.BeatmapSet = targetBeatmapSet;