mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 17:40:37 +08:00
Only use legacy resources lookup for protected (aka default) skin
This commit is contained in:
@@ -30,7 +30,7 @@ namespace osu.Game.Skinning
|
||||
public DefaultLegacySkin(SkinInfo skin, IStorageResourceProvider resources)
|
||||
: base(
|
||||
skin,
|
||||
new NamespacedResourceStore<byte[]>(resources.Resources, "Skins/Legacy"),
|
||||
skin.Protected ? new NamespacedResourceStore<byte[]>(resources.Resources, "Skins/Legacy") : null,
|
||||
resources,
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user