Don't allow selection of a hidden beatmap

This commit is contained in:
Dean Herbert 2017-09-01 18:13:21 +09:00
parent 1f646e6d54
commit f9d02afb00
1 changed files with 1 additions and 1 deletions

View File

@ -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;