mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 19:05:36 +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:
commit
2b083bff29
@ -301,6 +301,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
|||||||
|
|
||||||
LoadComponent(userModsSelectOverlay = new RoomModSelectOverlay
|
LoadComponent(userModsSelectOverlay = new RoomModSelectOverlay
|
||||||
{
|
{
|
||||||
|
Beatmap = { BindTarget = Beatmap },
|
||||||
SelectedMods = { BindTarget = userMods },
|
SelectedMods = { BindTarget = userMods },
|
||||||
IsValidMod = _ => false
|
IsValidMod = _ => false
|
||||||
});
|
});
|
||||||
@ -379,6 +380,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
|||||||
var beatmap = beatmapManager.QueryBeatmap(b => b.OnlineID == playlistItem.Beatmap.OnlineID);
|
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.
|
Beatmap.Value = beatmapManager.GetWorkingBeatmap(beatmap); // this will gracefully fall back to dummy beatmap if missing locally.
|
||||||
Ruleset.Value = rulesets.GetRuleset(playlistItem.RulesetID);
|
Ruleset.Value = rulesets.GetRuleset(playlistItem.RulesetID);
|
||||||
|
|
||||||
applyLoopingToTrack();
|
applyLoopingToTrack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user