Skip to content

Commit

Permalink
Merge pull request #29100 from cbrwn/daily-mods-stats
Browse files Browse the repository at this point in the history
Fix statistics wedge not showing correct values in daily challenge
  • Loading branch information
bdach authored Jul 26, 2024
2 parents e489ae8 + 17f00ec commit 2b083bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Game/Screens/OnlinePlay/DailyChallenge/DailyChallenge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ [new MatchChatDisplay(room) { RelativeSizeAxes = Axes.Both }]

LoadComponent(userModsSelectOverlay = new RoomModSelectOverlay
{
Beatmap = { BindTarget = Beatmap },
SelectedMods = { BindTarget = userMods },
IsValidMod = _ => false
});
Expand Down Expand Up @@ -379,6 +380,7 @@ private void trySetDailyChallengeBeatmap()
var beatmap = beatmapManager.QueryBeatmap(b => b.OnlineID == playlistItem.Beatmap.OnlineID);
Beatmap.Value = beatmapManager.GetWorkingBeatmap(beatmap); // this will gracefully fall back to dummy beatmap if missing locally.
Ruleset.Value = rulesets.GetRuleset(playlistItem.RulesetID);

applyLoopingToTrack();
}

Expand Down

0 comments on commit 2b083bf

Please sign in to comment.