Skip to content

Commit

Permalink
Fix status on carousel beatmap set not showing in split difficulty mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Sep 6, 2023
1 parent b884f1a commit 63e92f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions osu.Game/Screens/Select/BeatmapCarousel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ private void loadBeatmapSets(IEnumerable<BeatmapSetInfo> beatmapSets)
return createCarouselSet(new BeatmapSetInfo(new[] { b })
{
ID = b.BeatmapSet!.ID,
OnlineID = b.BeatmapSet!.OnlineID
OnlineID = b.BeatmapSet!.OnlineID,
Status = b.BeatmapSet!.Status,
});
}).OfType<CarouselBeatmapSet>();

Expand Down Expand Up @@ -431,7 +432,8 @@ public void UpdateBeatmapSet(BeatmapSetInfo beatmapSet) => Schedule(() =>
var newSet = createCarouselSet(new BeatmapSetInfo(new[] { beatmap })
{
ID = beatmapSet.ID,
OnlineID = beatmapSet.OnlineID
OnlineID = beatmapSet.OnlineID,
Status = beatmapSet.Status,
});

if (newSet != null)
Expand Down

0 comments on commit 63e92f8

Please sign in to comment.