1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 05:43:21 +08:00

Merge pull request #29100 from cbrwn/daily-mods-stats

Fix statistics wedge not showing correct values in daily challenge
This commit is contained in:
Bartłomiej Dach 2024-07-26 11:43:19 +02:00 committed by GitHub
commit 2b083bff29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -301,6 +301,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
LoadComponent(userModsSelectOverlay = new RoomModSelectOverlay
{
Beatmap = { BindTarget = Beatmap },
SelectedMods = { BindTarget = userMods },
IsValidMod = _ => false
});
@ -379,6 +380,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
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();
}