From f52fabbb0cdfbe4294e4830222c145232107e5ba Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 4 Jun 2025 21:11:38 +0900 Subject: [PATCH] SongSelectV2: Fix incorrect selection change when filtered down to one set --- osu.Game/Screens/SelectV2/BeatmapCarousel.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/osu.Game/Screens/SelectV2/BeatmapCarousel.cs b/osu.Game/Screens/SelectV2/BeatmapCarousel.cs index cc40921562..700ee6a05e 100644 --- a/osu.Game/Screens/SelectV2/BeatmapCarousel.cs +++ b/osu.Game/Screens/SelectV2/BeatmapCarousel.cs @@ -318,7 +318,12 @@ namespace osu.Game.Screens.SelectV2 } } - RequestRecommendedSelection(items.Select(i => i.Model).OfType()); + var beatmaps = items.Select(i => i.Model).OfType(); + + if (beatmaps.Any(b => b.Equals(CurrentSelection as BeatmapInfo))) + return; + + RequestRecommendedSelection(beatmaps); } protected override bool CheckValidForGroupSelection(CarouselItem item)