1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-07 05:43:41 +08:00

Move cancellation below new equality check

This commit is contained in:
Dean Herbert
2025-06-24 17:51:39 +09:00
Unverified
parent 0aec52a64e
commit 4fbffc4d66
@@ -115,8 +115,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
private void checkForAutomaticDownload()
{
downloadCheckCancellation?.Cancel();
if (client.Room == null)
return;
@@ -143,6 +141,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
lastDownloadCheckedBeatmapId = item.BeatmapID;
downloadCheckCancellation?.Cancel();
// In a perfect world we'd use BeatmapAvailability, but there's no event-driven flow for when a selection changes.
// ie. if selection changes from "not downloaded" to another "not downloaded" we wouldn't get a value changed raised.
beatmapLookupCache