1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Fix backward state set

This commit is contained in:
Dean Herbert 2021-11-06 16:38:42 +09:00
parent b8fb22b769
commit 96ef210a4d

View File

@ -107,7 +107,7 @@ namespace osu.Game.Online
private void itemRemoved(ScoreInfo item) => Schedule(() =>
{
if (checkEquality(item, TrackedItem))
UpdateState(DownloadState.LocallyAvailable);
UpdateState(DownloadState.NotDownloaded);
});
private bool checkEquality(IScoreInfo x, IScoreInfo y) => x.OnlineID == y.OnlineID;