From 446851dd29ccdf9378bd89daa358e729e29629bf Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 30 Sep 2024 18:37:36 +0900 Subject: [PATCH] Provide all skins as fallbacks for the purpose of resource lookups --- osu.Game/Skinning/SkinManager.cs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/osu.Game/Skinning/SkinManager.cs b/osu.Game/Skinning/SkinManager.cs index b0c41eca79e8..219d05cc1fd6 100644 --- a/osu.Game/Skinning/SkinManager.cs +++ b/osu.Game/Skinning/SkinManager.cs @@ -253,14 +253,10 @@ public IEnumerable AllSources yield return CurrentSkin.Value; // Skin manager provides default fallbacks. - // This handles cases where a user skin doesn't have the required resources for complete display of - // certain elements. - - if (CurrentSkin.Value != DefaultClassicSkin) - yield return DefaultClassicSkin; - - if (CurrentSkin.Value != trianglesSkin) - yield return trianglesSkin; + // This handles cases where a user skin doesn't have the required resources for complete display of certain elements, ie. textures. + if (CurrentSkin.Value != DefaultClassicSkin) yield return DefaultClassicSkin; + if (CurrentSkin.Value != argonSkin) yield return argonSkin; + if (CurrentSkin.Value != trianglesSkin) yield return trianglesSkin; } }