mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Cache TournamentStorage explicitly for better safety
This commit is contained in:
parent
f466791b69
commit
49057e8cbc
@ -40,6 +40,8 @@ namespace osu.Game.Tournament
|
||||
Resources.AddStore(new DllResourceStore(typeof(TournamentGameBase).Assembly));
|
||||
|
||||
dependencies.CacheAs<Storage>(storage = new TournamentStorage(baseStorage));
|
||||
dependencies.CacheAs(storage);
|
||||
|
||||
dependencies.Cache(new TournamentVideoResourceStore(storage));
|
||||
|
||||
Textures.AddStore(new TextureLoaderStore(new StorageBackedResourceStore(storage)));
|
||||
|
Loading…
Reference in New Issue
Block a user