1
0
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:
Dean Herbert 2025-02-07 17:38:24 +09:00
parent 9d979dc3f4
commit 3da615481e
No known key found for this signature in database

View File

@ -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)
{