Make selectGroup a private method.

This commit is contained in:
Dean Herbert
2017-03-04 22:05:02 +09:00
parent a2b79de672
commit 8f3621ca24
2 changed files with 10 additions and 9 deletions

View File

@ -403,11 +403,7 @@ namespace osu.Game.Screens.Select
if (Beatmap == null || select)
carousel.SelectBeatmap(beatmapSet.Beatmaps.First());
else
{
var panel = group.BeatmapPanels.FirstOrDefault(p => p.Beatmap.Equals(Beatmap.BeatmapInfo));
if (panel != null)
carousel.SelectGroup(group, panel);
}
carousel.SelectBeatmap(Beatmap.BeatmapInfo);
}));
}