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

Remove drive-by change

This commit is contained in:
Salman Ahmed 2021-05-19 23:44:53 +03:00
parent a4d52a7f52
commit d8efcc0793

View File

@ -12,8 +12,6 @@ namespace osu.Game.Tests.Visual
[TestFixture] [TestFixture]
public abstract class LegacySkinPlayerTestScene : PlayerTestScene public abstract class LegacySkinPlayerTestScene : PlayerTestScene
{ {
protected LegacySkin LegacySkin { get; private set; }
private ISkinSource legacySkinSource; private ISkinSource legacySkinSource;
protected override TestPlayer CreatePlayer(Ruleset ruleset) => new SkinProvidingPlayer(legacySkinSource); protected override TestPlayer CreatePlayer(Ruleset ruleset) => new SkinProvidingPlayer(legacySkinSource);
@ -21,8 +19,8 @@ namespace osu.Game.Tests.Visual
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuGameBase game, SkinManager skins) private void load(OsuGameBase game, SkinManager skins)
{ {
LegacySkin = new DefaultLegacySkin(new NamespacedResourceStore<byte[]>(game.Resources, "Skins/Legacy"), skins); var legacySkin = new DefaultLegacySkin(new NamespacedResourceStore<byte[]>(game.Resources, "Skins/Legacy"), skins);
legacySkinSource = new SkinProvidingContainer(LegacySkin); legacySkinSource = new SkinProvidingContainer(legacySkin);
} }
public class SkinProvidingPlayer : TestPlayer public class SkinProvidingPlayer : TestPlayer