1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 18:32:56 +08:00

Merge pull request #15387 from bdach/fix-score-download-tracker

Fix incorrect state transition in score download tracker
This commit is contained in:
Dan Balasescu 2021-11-01 18:36:35 +09:00 committed by GitHub
commit 65d2b54ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,10 +122,8 @@ namespace osu.Game.Online
{
Schedule(() =>
{
if (!checkEquality(item, TrackedItem))
return;
UpdateState(DownloadState.NotDownloaded);
if (checkEquality(item, TrackedItem))
UpdateState(DownloadState.LocallyAvailable);
});
}
}