Remove unused variable

This commit is contained in:
naoey 2020-02-29 21:53:49 +05:30
parent bca58ddb42
commit 1ce972dd5b
No known key found for this signature in database
GPG Key ID: 670DA9BE3DF7EE60

View File

@ -14,8 +14,6 @@ namespace osu.Game.Tests.Visual.Gameplay
[Description("Player instantiated with an autoplay mod.")] [Description("Player instantiated with an autoplay mod.")]
public class TestSceneAutoplay : TestSceneAllRulesetPlayers public class TestSceneAutoplay : TestSceneAllRulesetPlayers
{ {
private ClockBackedTestWorkingBeatmap.TrackVirtualManual track;
protected override Player CreatePlayer(Ruleset ruleset) protected override Player CreatePlayer(Ruleset ruleset)
{ {
SelectedMods.Value = SelectedMods.Value.Concat(new[] { ruleset.GetAutoplayMod() }).ToArray(); SelectedMods.Value = SelectedMods.Value.Concat(new[] { ruleset.GetAutoplayMod() }).ToArray();
@ -41,8 +39,6 @@ namespace osu.Game.Tests.Visual.Gameplay
{ {
var working = base.CreateWorkingBeatmap(beatmap, storyboard); var working = base.CreateWorkingBeatmap(beatmap, storyboard);
track = (ClockBackedTestWorkingBeatmap.TrackVirtualManual)working.Track;
return working; return working;
} }