Use [Resolved] instead

This commit is contained in:
Bartłomiej Dach 2020-07-16 20:08:48 +02:00
parent 545e4a1f66
commit f72a6b8c9d
1 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,9 @@ namespace osu.Game.Rulesets.Catch.Tests
public class TestSceneCatcherArea : CatchSkinnableTestScene
{
private RulesetInfo catchRuleset;
private OsuConfigManager config;
[Resolved]
private OsuConfigManager config { get; set; }
public TestSceneCatcherArea()
{
@ -105,10 +107,9 @@ private void createCatcher(float size)
}
[BackgroundDependencyLoader]
private void load(RulesetStore rulesets, OsuConfigManager configManager)
private void load(RulesetStore rulesets)
{
catchRuleset = rulesets.GetRuleset(2);
config = configManager;
}
public class TestFruit : Fruit