mirror of
https://github.com/ppy/osu
synced 2025-02-10 15:17:32 +00:00
Avoid re-fetching WorkingBeatmap
This commit is contained in:
parent
2040dcabe0
commit
175cf68bd6
@ -437,8 +437,7 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
||||
}
|
||||
else
|
||||
{
|
||||
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineID == selected.Beatmap.OnlineID);
|
||||
UserModsSelectOverlay.Beatmap = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||
UserModsSelectOverlay.Beatmap = Beatmap.Value;
|
||||
UserModsSection?.Show();
|
||||
UserModsSelectOverlay.IsValidMod = m => allowedMods.Any(a => a.GetType() == m.GetType());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user