mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08:00
Add note about reasoning behind MultiplayerClient.GetAPIBeatmap
call
This commit is contained in:
parent
3ea07b426b
commit
c097dc8048
@ -166,6 +166,8 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
IBeatmapInfo foundBeatmap;
|
||||
|
||||
if (multiplayerClient != null)
|
||||
// This call can eventually go away (and use the else case below).
|
||||
// Currently required only due to the method being overridden to provide special behaviour in tests.
|
||||
foundBeatmap = await multiplayerClient.GetAPIBeatmap(Item.BeatmapID).ConfigureAwait(false);
|
||||
else
|
||||
foundBeatmap = await beatmapLookupCache.GetBeatmapAsync(Item.BeatmapID).ConfigureAwait(false);
|
||||
|
Loading…
Reference in New Issue
Block a user