mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Merge pull request #15439 from bdach/fix-tracking-local-scores
Fix score tracker not tracking non-online scores correctly
This commit is contained in:
commit
a7627f06d0
@ -35,7 +35,11 @@ namespace osu.Game.Online
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// Used to interact with manager classes that don't support interface types. Will eventually be replaced.
|
// Used to interact with manager classes that don't support interface types. Will eventually be replaced.
|
||||||
var scoreInfo = new ScoreInfo { OnlineScoreID = TrackedItem.OnlineScoreID };
|
var scoreInfo = new ScoreInfo
|
||||||
|
{
|
||||||
|
ID = TrackedItem.ID,
|
||||||
|
OnlineScoreID = TrackedItem.OnlineScoreID
|
||||||
|
};
|
||||||
|
|
||||||
if (Manager.IsAvailableLocally(scoreInfo))
|
if (Manager.IsAvailableLocally(scoreInfo))
|
||||||
UpdateState(DownloadState.LocallyAvailable);
|
UpdateState(DownloadState.LocallyAvailable);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user