Fix incorrect state transition in score download tracker

This commit is contained in:
Bartłomiej Dach 2021-11-01 09:35:02 +01:00
parent c51349de57
commit cd4681496a
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

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);
});
}
}