1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:07:33 +08:00

Remove unnecessary count check

This commit is contained in:
Dean Herbert 2017-07-20 15:34:44 +09:00
parent a59557f039
commit 4f10256182

View File

@ -133,7 +133,7 @@ namespace osu.Game.Screens.Select
public void SelectNext(int direction = 1, bool skipDifficulties = true)
{
if (groups.Count == 0 || groups.All(g => g.State == BeatmapGroupState.Hidden))
if (groups.All(g => g.State == BeatmapGroupState.Hidden))
{
selectedGroup = null;
selectedPanel = null;