mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Improve Code Quality
This commit is contained in:
parent
2a3391d83b
commit
2040dcabe0
@ -437,7 +437,7 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
||||
}
|
||||
else
|
||||
{
|
||||
var localBeatmap = selected.Beatmap == null ? null : beatmapManager.QueryBeatmap(b => b.OnlineID == selected.Beatmap.OnlineID);
|
||||
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineID == selected.Beatmap.OnlineID);
|
||||
UserModsSelectOverlay.Beatmap = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||
UserModsSection?.Show();
|
||||
UserModsSelectOverlay.IsValidMod = m => allowedMods.Any(a => a.GetType() == m.GetType());
|
||||
|
Loading…
Reference in New Issue
Block a user