mirror of
https://github.com/ppy/osu
synced 2025-02-09 22:57:37 +00:00
Fix value not updating after missing beatmap is imported
This commit is contained in:
parent
175cf68bd6
commit
a639e51ddb
@ -437,7 +437,6 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
||||
}
|
||||
else
|
||||
{
|
||||
UserModsSelectOverlay.Beatmap = Beatmap.Value;
|
||||
UserModsSection?.Show();
|
||||
UserModsSelectOverlay.IsValidMod = m => allowedMods.Any(a => a.GetType() == m.GetType());
|
||||
}
|
||||
@ -453,7 +452,7 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
||||
// Retrieve the corresponding local beatmap, since we can't directly use the playlist's beatmap info
|
||||
var localBeatmap = beatmap == null ? null : beatmapManager.QueryBeatmap(b => b.OnlineID == beatmap.OnlineID);
|
||||
|
||||
Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||
UserModsSelectOverlay.Beatmap = Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||
}
|
||||
|
||||
protected virtual void UpdateMods()
|
||||
|
Loading…
Reference in New Issue
Block a user