1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 13:33:03 +08:00

Split up adding of local store from the ctor.

This commit is contained in:
smoogipooo 2017-05-02 16:55:04 +09:00
parent e2620e2840
commit 40d2fee1dc

View File

@ -54,7 +54,10 @@ namespace osu.Game.Screens.Tournament
{
this.storage = storage;
TextureStore flagStore = new TextureStore(new RawTextureLoaderStore(new NamespacedResourceStore<byte[]>(new StorageBackedResourceStore(storage), "Drawings")));
TextureStore flagStore = new TextureStore();
// Local flag store
flagStore.AddStore(new RawTextureLoaderStore(new NamespacedResourceStore<byte[]>(new StorageBackedResourceStore(storage), "Drawings")));
/// Default texture store
flagStore.AddStore(textures);
dependencies.Cache(flagStore);