1
0
mirror of https://github.com/ppy/osu synced 2025-03-20 01:49:41 +00:00

Terminate loop through beatmap groups when having found a selection.

This commit is contained in:
Thomas Müller 2016-11-22 19:00:42 +01:00
parent b22762d0e1
commit 20be2f4628

View File

@ -84,7 +84,10 @@ namespace osu.Game.Screens.Select
{
var panel = group.BeatmapPanels.FirstOrDefault(p => p.Beatmap.Equals(beatmap));
if (panel != null)
{
SelectGroup(group, panel);
return;
}
}
}