mirror of
https://github.com/ppy/osu
synced 2025-01-06 14:20:03 +00:00
Remove remnants of user skin PR
This commit is contained in:
parent
40c1c6072e
commit
bfbec067b1
@ -60,9 +60,6 @@ namespace osu.Game.Skinning
|
||||
};
|
||||
}
|
||||
|
||||
private Skin createIfNotExisting(SkinInfo skinInfo) =>
|
||||
GetSkin(Query(s => s.Name == skinInfo.Name) ?? Import(skinInfo).Result);
|
||||
|
||||
protected override bool ShouldDeleteArchive(string path) => Path.GetExtension(path)?.ToLowerInvariant() == ".osk";
|
||||
|
||||
/// <summary>
|
||||
@ -110,9 +107,6 @@ namespace osu.Game.Skinning
|
||||
/// <returns>A <see cref="Skin"/> instance correlating to the provided <see cref="SkinInfo"/>.</returns>
|
||||
public Skin GetSkin(SkinInfo skinInfo)
|
||||
{
|
||||
if (skinInfo == null)
|
||||
return null;
|
||||
|
||||
if (skinInfo == SkinInfo.Default)
|
||||
return new DefaultSkin();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user