mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:43:22 +08:00
Remove unnecessary local store
This commit is contained in:
parent
92d20eea8c
commit
f81eb2de65
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user