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:
parent
8a5755ca52
commit
a635664a86
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user