1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

Remove unaccessed field

It was a warning...
This commit is contained in:
Salman Ahmed 2021-06-11 00:58:05 +03:00
parent ca3c45363a
commit fe48ce4bd5

View File

@ -19,7 +19,6 @@ namespace osu.Game.Tests.Rulesets
{ {
public class TestSceneRulesetSkinProvidingContainer : OsuTestScene public class TestSceneRulesetSkinProvidingContainer : OsuTestScene
{ {
private RulesetSkinProvidingContainer rulesetSkinProvider;
private SkinRequester requester; private SkinRequester requester;
protected override Ruleset CreateRuleset() => new TestSceneRulesetDependencies.TestRuleset(); protected override Ruleset CreateRuleset() => new TestSceneRulesetDependencies.TestRuleset();
@ -27,7 +26,7 @@ namespace osu.Game.Tests.Rulesets
[SetUp] [SetUp]
public void SetUp() => Schedule(() => public void SetUp() => Schedule(() =>
{ {
Child = rulesetSkinProvider = new RulesetSkinProvidingContainer(Ruleset.Value.CreateInstance(), Beatmap.Value.Beatmap, Beatmap.Value.Skin) Child = new RulesetSkinProvidingContainer(Ruleset.Value.CreateInstance(), Beatmap.Value.Beatmap, Beatmap.Value.Skin)
.WithChild(requester = new SkinRequester()); .WithChild(requester = new SkinRequester());
}); });