mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Split up adding of local store from the ctor.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user