1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +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;