1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 02:42:54 +08:00

Fix OnlinePlayBeatmapAvailabilityTracker not passing through Unknown state

This commit is contained in:
Dean Herbert 2023-06-28 15:42:53 +09:00
parent 3883c28b15
commit fec086aec8

View File

@ -124,6 +124,9 @@ namespace osu.Game.Online.Rooms
switch (downloadTracker.State.Value) switch (downloadTracker.State.Value)
{ {
case DownloadState.Unknown: case DownloadState.Unknown:
availability.Value = BeatmapAvailability.Unknown();
break;
case DownloadState.NotDownloaded: case DownloadState.NotDownloaded:
availability.Value = BeatmapAvailability.NotDownloaded(); availability.Value = BeatmapAvailability.NotDownloaded();
break; break;