1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Merge pull request #27997 from bdach/refetch-when-entering-editor

Fully refetch working beatmap when entering editor
This commit is contained in:
Dean Herbert 2024-04-25 22:20:33 +08:00 committed by GitHub
commit 5ccc745235
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -425,7 +425,8 @@ namespace osu.Game.Screens.Select
if (!AllowEditing)
throw new InvalidOperationException($"Attempted to edit when {nameof(AllowEditing)} is disabled");
Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo ?? beatmapInfoNoDebounce);
// Forced refetch is important here to guarantee correct invalidation across all difficulties.
Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo ?? beatmapInfoNoDebounce, true);
this.Push(new EditorLoader());
}