mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 11:52:56 +08:00
Change switch
to simple conditional for now
This commit is contained in:
parent
9d979dc3f4
commit
3da615481e
@ -51,16 +51,7 @@ namespace osu.Game.Screens.SelectV2
|
||||
HashSet<CarouselItem>? groupRefItems = null;
|
||||
HashSet<CarouselItem>? setRefItems = null;
|
||||
|
||||
switch (criteria.Group)
|
||||
{
|
||||
default:
|
||||
BeatmapSetsGroupedTogether = true;
|
||||
break;
|
||||
|
||||
case GroupMode.Difficulty:
|
||||
BeatmapSetsGroupedTogether = false;
|
||||
break;
|
||||
}
|
||||
BeatmapSetsGroupedTogether = criteria.Group != GroupMode.Difficulty;
|
||||
|
||||
foreach (var item in items)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user