1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 05:22:54 +08:00

Fix incorrect access definitions

This commit is contained in:
Dean Herbert 2018-10-14 03:03:17 +09:00
parent f5716c3d21
commit e136f72c8e

View File

@ -16,22 +16,22 @@ namespace osu.Game.Tournament.Tests
public class TestCaseBeatmapPanel : OsuTestCase
{
[Resolved]
protected APIAccess API { get; set; }
private APIAccess api { get; set; }
[Resolved]
protected RulesetStore Rulesets { get; set; }
private RulesetStore rulesets { get; set; }
[BackgroundDependencyLoader]
private void load()
{
var req = new GetBeatmapRequest(new BeatmapInfo { OnlineBeatmapID = 1091460 });
req.Success += success;
API.Queue(req);
api.Queue(req);
}
private void success(APIBeatmap apiBeatmap)
{
var beatmap = apiBeatmap.ToBeatmap(Rulesets);
var beatmap = apiBeatmap.ToBeatmap(rulesets);
Add(new TournamentBeatmapPanel(beatmap)
{
Anchor = Anchor.Centre,