1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 21:42:55 +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>? groupRefItems = null;
HashSet<CarouselItem>? setRefItems = null; HashSet<CarouselItem>? setRefItems = null;
switch (criteria.Group) BeatmapSetsGroupedTogether = criteria.Group != GroupMode.Difficulty;
{
default:
BeatmapSetsGroupedTogether = true;
break;
case GroupMode.Difficulty:
BeatmapSetsGroupedTogether = false;
break;
}
foreach (var item in items) foreach (var item in items)
{ {