1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 17:13:06 +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)
: base(skin)
{
var audioStore = new ResourceStore<byte[]>(storage);
samples = audioManager.GetSampleManager(audioStore);
samples = audioManager.GetSampleManager(storage);
textures = new TextureStore(new RawTextureLoaderStore(storage));
}