mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Update tournament components to use APIBeatmap
directly
This commit is contained in:
@ -190,7 +190,7 @@ namespace osu.Game.Tournament
|
||||
{
|
||||
var req = new GetBeatmapRequest(new BeatmapInfo { OnlineBeatmapID = b.ID });
|
||||
API.Perform(req);
|
||||
b.BeatmapInfo = req.Response?.ToBeatmapInfo(RulesetStore);
|
||||
b.BeatmapInfo = req.Response;
|
||||
|
||||
addedInfo = true;
|
||||
}
|
||||
@ -211,7 +211,7 @@ namespace osu.Game.Tournament
|
||||
{
|
||||
var req = new GetBeatmapRequest(new BeatmapInfo { OnlineBeatmapID = b.ID });
|
||||
req.Perform(API);
|
||||
b.BeatmapInfo = req.Response?.ToBeatmapInfo(RulesetStore);
|
||||
b.BeatmapInfo = req.Response;
|
||||
|
||||
addedInfo = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user