1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 12:42:54 +08:00

Fix variable name mismatch

This commit is contained in:
Dean Herbert 2021-10-29 11:54:42 +09:00
parent 748003b016
commit 75a088d4f4

View File

@ -32,12 +32,12 @@ namespace osu.Game.Online
private void load()
{
// Used to interact with manager classes that don't support interface types. Will eventually be replaced.
var beatmapSetInfo = new ScoreInfo { OnlineScoreID = TrackedItem.OnlineScoreID };
var scoreInfo = new ScoreInfo { OnlineScoreID = TrackedItem.OnlineScoreID };
if (TrackedItem.ID > 0 || Manager?.IsAvailableLocally(beatmapSetInfo) == true)
if (TrackedItem.ID > 0 || Manager?.IsAvailableLocally(scoreInfo) == true)
UpdateState(DownloadState.LocallyAvailable);
else if (Manager != null)
attachDownload(Manager.GetExistingDownload(beatmapSetInfo));
attachDownload(Manager.GetExistingDownload(scoreInfo));
if (Manager != null)
{