mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:43:21 +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