mirror of https://github.com/ppy/osu
Don't allow selection of a hidden beatmap
This commit is contained in:
parent
1f646e6d54
commit
f9d02afb00
|
@ -144,7 +144,7 @@ internal void UpdateBeatmap(BeatmapInfo beatmap)
|
|||
|
||||
public void SelectBeatmap(BeatmapInfo beatmap, bool animated = true)
|
||||
{
|
||||
if (beatmap == null)
|
||||
if (beatmap == null || beatmap.Hidden)
|
||||
{
|
||||
SelectNext();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue