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

@ -104,7 +104,7 @@ namespace osu.Game.Rulesets
public virtual Drawable CreateIcon() => new SpriteIcon { Icon = FontAwesome.Solid.QuestionCircle };
public virtual IResourceStore<byte[]> CreateResourceStore() => new NamespacedResourceStore<byte[]>(new DllResourceStore(GetType().Assembly.Location), @"Resources");
public virtual IResourceStore<byte[]> CreateResourceStore() => new NamespacedResourceStore<byte[]>(new DllResourceStore(GetType().Assembly), @"Resources");
public abstract string Description { get; }