Construct DllResourceStore with assemblies

This commit is contained in:
Huo Yaoyuan
2019-12-28 21:13:18 +08:00
parent 6cb1a638b6
commit 1b33581667
5 changed files with 8 additions and 6 deletions

View File

@ -52,7 +52,7 @@ namespace osu.Game.Tournament
[BackgroundDependencyLoader]
private void load(Storage storage, FrameworkConfigManager frameworkConfig)
{
Resources.AddStore(new DllResourceStore(@"osu.Game.Tournament.dll"));
Resources.AddStore(new DllResourceStore(typeof(TournamentGameBase).Assembly));
AddFont(Resources, @"Resources/Fonts/Aquatico-Regular");
AddFont(Resources, @"Resources/Fonts/Aquatico-Light");