mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix backward state set
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user