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:
parent
92d20eea8c
commit
f81eb2de65
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user