1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:47:52 +08:00

Fix BeatmapSetInfos with OnlineBeatmapSetID set to null being marked as downloaded.

This commit is contained in:
DrabWeb 2018-06-04 21:11:27 -03:00
parent 61e1358410
commit d8154f8cad

View File

@ -35,6 +35,7 @@ namespace osu.Game.Beatmaps.Drawables
beatmaps.ItemRemoved += setRemoved;
// initial value
if (set.OnlineBeatmapSetID != null)
Downloaded.Value = beatmaps.QueryBeatmapSets(s => s.OnlineBeatmapSetID == set.OnlineBeatmapSetID && !s.DeletePending).Count() != 0;
}