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:
parent
b8fb22b769
commit
96ef210a4d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user