Change parameter order of LegacySkin to put IStorageResourceProvider first

The optional resource store should not be before the (basically)
required resource provider.
This commit is contained in:
Dean Herbert
2022-03-23 15:02:01 +09:00
parent d0ea1739b4
commit 7a1909bf97
8 changed files with 10 additions and 10 deletions

View File

@ -30,7 +30,7 @@ namespace osu.Game.Rulesets.Catch.Tests
{
public TestLegacySkin(SkinInfo skin, IResourceStore<byte[]> storage)
// Bypass LegacySkinResourceStore to avoid returning null for retrieving files due to bad skin info (SkinInfo.Files = null).
: base(skin, storage, null, "skin.ini")
: base(skin, null, storage, "skin.ini")
{
}
}