mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:52:55 +08:00
Don't allow selection of a hidden beatmap
This commit is contained in:
parent
1f646e6d54
commit
f9d02afb00
@ -144,7 +144,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public void SelectBeatmap(BeatmapInfo beatmap, bool animated = true)
|
||||
{
|
||||
if (beatmap == null)
|
||||
if (beatmap == null || beatmap.Hidden)
|
||||
{
|
||||
SelectNext();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user