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

Remove unnecessary local store

This commit is contained in:
Dean Herbert 2018-02-23 14:24:32 +09:00
parent 92d20eea8c
commit f81eb2de65

View File

@ -22,9 +22,7 @@ namespace osu.Game.Skinning
public LegacySkin(SkinInfo skin, IResourceStore<byte[]> storage, AudioManager audioManager) public LegacySkin(SkinInfo skin, IResourceStore<byte[]> storage, AudioManager audioManager)
: base(skin) : base(skin)
{ {
var audioStore = new ResourceStore<byte[]>(storage); samples = audioManager.GetSampleManager(storage);
samples = audioManager.GetSampleManager(audioStore);
textures = new TextureStore(new RawTextureLoaderStore(storage)); textures = new TextureStore(new RawTextureLoaderStore(storage));
} }