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:
parent
e2620e2840
commit
40d2fee1dc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user