Create ReplayPlayerLoader for local mod caching

This commit is contained in:
David Zhao
2019-07-08 14:55:05 +09:00
parent 2432878614
commit 2747d7692b
2 changed files with 33 additions and 2 deletions

View File

@ -284,9 +284,8 @@ namespace osu.Game
{
Ruleset.Value = databasedScoreInfo.Ruleset;
Beatmap.Value = BeatmapManager.GetWorkingBeatmap(databasedBeatmap);
Mods.Value = databasedScoreInfo.Mods;
menuScreen.Push(new PlayerLoader(() => new ReplayPlayer(databasedScore)));
menuScreen.Push(new ReplayPlayerLoader(() => new ReplayPlayer(databasedScore), databasedScoreInfo.Mods));
}, $"watch {databasedScoreInfo}", bypassScreenAllowChecks: true);
}