mirror of https://github.com/ppy/osu
Fix missed `InstantiationInfo` setter usages
This commit is contained in:
parent
d31fa20e92
commit
a6aec6e007
|
@ -3,6 +3,7 @@
|
|||
|
||||
using JetBrains.Annotations;
|
||||
using osu.Framework.IO.Stores;
|
||||
using osu.Game.Extensions;
|
||||
using osu.Game.IO;
|
||||
using osuTK.Graphics;
|
||||
|
||||
|
@ -35,7 +36,7 @@ public DefaultLegacySkin(SkinInfo skin, IResourceStore<byte[]> storage, IStorage
|
|||
ID = SkinInfo.CLASSIC_SKIN, // this is temporary until database storage is decided upon.
|
||||
Name = "osu!classic",
|
||||
Creator = "team osu!",
|
||||
InstantiationInfo = typeof(DefaultLegacySkin).AssemblyQualifiedName,
|
||||
InstantiationInfo = typeof(DefaultLegacySkin).GetInvariantInstantiationInfo()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
using osu.Framework.IO.Stores;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Database;
|
||||
using osu.Game.Extensions;
|
||||
using osu.Game.IO;
|
||||
|
||||
namespace osu.Game.Skinning
|
||||
|
@ -50,7 +51,7 @@ public virtual Skin CreateInstance(IResourceStore<byte[]> legacyDefaultResources
|
|||
ID = DEFAULT_SKIN,
|
||||
Name = "osu!lazer",
|
||||
Creator = "team osu!",
|
||||
InstantiationInfo = typeof(DefaultSkin).AssemblyQualifiedName,
|
||||
InstantiationInfo = typeof(DefaultSkin).GetInvariantInstantiationInfo()
|
||||
};
|
||||
|
||||
public bool Equals(SkinInfo other) => other != null && ID == other.ID;
|
||||
|
|
Loading…
Reference in New Issue