Update tests and file access code

This commit is contained in:
Dean Herbert
2021-11-23 16:05:28 +09:00
parent 3db5646fa8
commit 2a9c7c00c8
4 changed files with 7 additions and 10 deletions

View File

@ -122,7 +122,7 @@ namespace osu.Game.Tests.Visual.Background
private void setCustomSkin()
{
// feign a skin switch. this doesn't do anything except force CurrentSkin to become a LegacySkin.
AddStep("set custom skin", () => skins.CurrentSkinInfo.Value = new SkinInfo { ID = 5 });
AddStep("set custom skin", () => skins.CurrentSkinInfo.Value = new SkinInfo());
}
private void setDefaultSkin() => AddStep("set default skin", () => skins.CurrentSkinInfo.SetDefault());