mirror of
https://github.com/ppy/osu
synced 2025-01-05 21:59:46 +00:00
Ensure ruleset and mods are set correctly when leaving MatchSongSelect
This commit is contained in:
parent
7c2ffb1826
commit
a3f71d69a9
@ -56,6 +56,10 @@ namespace osu.Game.Screens.Select
|
||||
return true;
|
||||
|
||||
Beatmap.Value = beatmaps.GetWorkingBeatmap(CurrentItem.Value?.Beatmap);
|
||||
Ruleset.Value = CurrentItem.Value?.Ruleset;
|
||||
CurrentItem.Value?.RequiredMods.Clear();
|
||||
CurrentItem.Value?.RequiredMods.AddRange(SelectedMods.Value);
|
||||
|
||||
Beatmap.Disabled = true;
|
||||
Ruleset.Disabled = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user