mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Change DownloadState only when Download is possible
This commit is contained in:
@ -71,9 +71,10 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
if (DownloadState.Value > DownloadStatus.NotDownloaded)
|
||||
return;
|
||||
|
||||
beatmaps.Download(set, noVideo);
|
||||
|
||||
DownloadState.Value = DownloadStatus.Downloading;
|
||||
if (beatmaps.Download(set, noVideo)) {
|
||||
// Only change state if download can happen
|
||||
DownloadState.Value = DownloadStatus.Downloading;
|
||||
}
|
||||
}
|
||||
|
||||
private void setAdded(BeatmapSetInfo s)
|
||||
|
Reference in New Issue
Block a user