1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 16:47:24 +08:00

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

View File

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