Add API methods to perform requests out-of-queue

This commit is contained in:
Dean Herbert
2019-11-29 20:03:14 +09:00
parent 4dc8e0ae20
commit c49aeb08c4
8 changed files with 46 additions and 35 deletions

View File

@ -228,7 +228,7 @@ namespace osu.Game.Tournament
if (b.BeatmapInfo == null && b.ID > 0)
{
var req = new GetBeatmapRequest(new BeatmapInfo { OnlineBeatmapID = b.ID });
req.Perform(API);
API.Perform(req);
b.BeatmapInfo = req.Result?.ToBeatmap(RulesetStore);
addedInfo = true;