mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 05:37:18 +09:00
Only use legacy resources lookup for protected (aka default) skin
This commit is contained in:
parent
3c38b14228
commit
00aea9bef0
@ -30,7 +30,7 @@ namespace osu.Game.Skinning
|
|||||||
public DefaultLegacySkin(SkinInfo skin, IStorageResourceProvider resources)
|
public DefaultLegacySkin(SkinInfo skin, IStorageResourceProvider resources)
|
||||||
: base(
|
: base(
|
||||||
skin,
|
skin,
|
||||||
new NamespacedResourceStore<byte[]>(resources.Resources, "Skins/Legacy"),
|
skin.Protected ? new NamespacedResourceStore<byte[]>(resources.Resources, "Skins/Legacy") : null,
|
||||||
resources,
|
resources,
|
||||||
// A default legacy skin may still have a skin.ini if it is modified by the user.
|
// A default legacy skin may still have a skin.ini if it is modified by the user.
|
||||||
// We must specify the stream directly as we are redirecting storage to the osu-resources location for other files.
|
// We must specify the stream directly as we are redirecting storage to the osu-resources location for other files.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user