1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 07:23:14 +08:00

Fix incorrect DI retrieval in ReplayDownloadButton

This commit is contained in:
Dean Herbert 2021-10-06 05:28:11 +09:00
parent 777763a550
commit 5a4474e1b2

View File

@ -40,7 +40,7 @@ namespace osu.Game.Screens.Ranking
} }
[BackgroundDependencyLoader(true)] [BackgroundDependencyLoader(true)]
private void load(OsuGame game, ScoreModelDownloader scores) private void load(OsuGame game, ScoreManager scores)
{ {
InternalChild = shakeContainer = new ShakeContainer InternalChild = shakeContainer = new ShakeContainer
{ {
@ -60,7 +60,7 @@ namespace osu.Game.Screens.Ranking
break; break;
case DownloadState.NotDownloaded: case DownloadState.NotDownloaded:
scores.Download(Model.Value); scores.Download(Model.Value, false);
break; break;
case DownloadState.Importing: case DownloadState.Importing: