mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 22:22:55 +08:00
Fix incorrect DI retrieval in ReplayDownloadButton
This commit is contained in:
parent
777763a550
commit
5a4474e1b2
@ -40,7 +40,7 @@ namespace osu.Game.Screens.Ranking
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(OsuGame game, ScoreModelDownloader scores)
|
||||
private void load(OsuGame game, ScoreManager scores)
|
||||
{
|
||||
InternalChild = shakeContainer = new ShakeContainer
|
||||
{
|
||||
@ -60,7 +60,7 @@ namespace osu.Game.Screens.Ranking
|
||||
break;
|
||||
|
||||
case DownloadState.NotDownloaded:
|
||||
scores.Download(Model.Value);
|
||||
scores.Download(Model.Value, false);
|
||||
break;
|
||||
|
||||
case DownloadState.Importing:
|
||||
|
Loading…
Reference in New Issue
Block a user