mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Create ReplayPlayerLoader for local mod caching
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user