1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Fix texture store not being initialised correctly

Without this change flags/mods would not work as expected. The video
store was being added as the texture store incorrectly.
This commit is contained in:
Dean Herbert 2020-10-19 15:48:33 +09:00
parent 3f41003d35
commit daceb0c049

View File

@ -40,8 +40,9 @@ namespace osu.Game.Tournament
Resources.AddStore(new DllResourceStore(typeof(TournamentGameBase).Assembly));
dependencies.CacheAs<Storage>(storage = new TournamentStorage(baseStorage));
dependencies.Cache(new TournamentVideoResourceStore(storage));
Textures.AddStore(new TextureLoaderStore(storage.VideoStore));
Textures.AddStore(new TextureLoaderStore(new StorageBackedResourceStore(storage)));
readBracket();