mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Fix test failures due to Content
override being applied in two places weirdly
This commit is contained in:
parent
3ccd0ca1b0
commit
09ee500f62
@ -1,6 +1,7 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osuTK;
|
||||
@ -15,5 +16,11 @@ namespace osu.Game.Tournament.Tests
|
||||
Scale = new Vector2(1920 / (float)(1920 + TournamentSceneManager.CONTROL_AREA_WIDTH)),
|
||||
RelativeSizeAxes = Axes.Both
|
||||
};
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
base.Content.Add(Content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -43,8 +43,6 @@ namespace osu.Game.Tournament.Tests
|
||||
|
||||
Ruleset.BindTo(Ladder.Ruleset);
|
||||
Dependencies.CacheAs(new StableInfo(storage));
|
||||
|
||||
base.Content.Add(Content);
|
||||
}
|
||||
|
||||
[SetUpSteps]
|
||||
|
Loading…
Reference in New Issue
Block a user