From 324ef951e77272e8fd5062c730fc8302cfeaa4cd Mon Sep 17 00:00:00 2001 From: Salman Alshamrani Date: Thu, 2 Jan 2025 03:47:37 -0500 Subject: [PATCH] Remove unnecessary override and weird usage of Realm --- osu.Game.Tests/Skins/TestSceneSkinMigration.cs | 2 -- osu.Game/Skinning/SkinInfo.cs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/osu.Game.Tests/Skins/TestSceneSkinMigration.cs b/osu.Game.Tests/Skins/TestSceneSkinMigration.cs index dcf0c66d7c..0c0ad24dda 100644 --- a/osu.Game.Tests/Skins/TestSceneSkinMigration.cs +++ b/osu.Game.Tests/Skins/TestSceneSkinMigration.cs @@ -372,8 +372,6 @@ namespace osu.Game.Tests.Skins private class TestSkinInfo : SkinInfo { - public override IList Files { get; } = new List(); - public TestSkinInfo(string instantiationInfo, IDictionary? layout) : base("test skin", "me", instantiationInfo) { diff --git a/osu.Game/Skinning/SkinInfo.cs b/osu.Game/Skinning/SkinInfo.cs index 571deca8aa..faca1d99cf 100644 --- a/osu.Game/Skinning/SkinInfo.cs +++ b/osu.Game/Skinning/SkinInfo.cs @@ -63,7 +63,7 @@ namespace osu.Game.Skinning public virtual Skin CreateInstance(IStorageResourceProvider resources) => (Skin)Activator.CreateInstance(GetInstanceType(), this, resources)!; - public virtual IList Files { get; } = null!; + public IList Files { get; } = null!; public bool DeletePending { get; set; }