diff --git a/osu.Game/Skinning/RulesetSkinProvidingContainer.cs b/osu.Game/Skinning/RulesetSkinProvidingContainer.cs
index d736f4cdb5..d8599d77f6 100644
--- a/osu.Game/Skinning/RulesetSkinProvidingContainer.cs
+++ b/osu.Game/Skinning/RulesetSkinProvidingContainer.cs
@@ -31,12 +31,6 @@ namespace osu.Game.Skinning
[CanBeNull]
private readonly ISkin beatmapSkin;
- ///
- /// This container already re-exposes all parent sources in a ruleset-usable form.
- /// Therefore disallow falling back to any parent any further.
- ///
- protected override bool AllowFallingBackToParent => false;
-
protected override Container Content { get; } = new Container
{
RelativeSizeAxes = Axes.Both,
diff --git a/osu.Game/Skinning/SkinProvidingContainer.cs b/osu.Game/Skinning/SkinProvidingContainer.cs
index 9aff187c9c..9b21d229ce 100644
--- a/osu.Game/Skinning/SkinProvidingContainer.cs
+++ b/osu.Game/Skinning/SkinProvidingContainer.cs
@@ -30,11 +30,6 @@ namespace osu.Game.Skinning
protected ISkinSource? ParentSource { get; private set; }
- ///
- /// Whether falling back to parent s is allowed in this container.
- ///
- protected virtual bool AllowFallingBackToParent => true;
-
protected virtual bool AllowDrawableLookup(ISkinComponentLookup lookup) => true;
protected virtual bool AllowTextureLookup(string componentName) => true;
@@ -93,9 +88,6 @@ namespace osu.Game.Skinning
return skin;
}
- if (!AllowFallingBackToParent)
- return null;
-
return ParentSource?.FindProvider(lookupFunction);
}
@@ -106,7 +98,7 @@ namespace osu.Game.Skinning
foreach (var i in skinSources)
yield return i.skin;
- if (AllowFallingBackToParent && ParentSource != null)
+ if (ParentSource != null)
{
foreach (var skin in ParentSource.AllSources)
yield return skin;
@@ -123,9 +115,6 @@ namespace osu.Game.Skinning
return sourceDrawable;
}
- if (!AllowFallingBackToParent)
- return null;
-
return ParentSource?.GetDrawableComponent(lookup);
}
@@ -138,9 +127,6 @@ namespace osu.Game.Skinning
return sourceTexture;
}
- if (!AllowFallingBackToParent)
- return null;
-
return ParentSource?.GetTexture(componentName, wrapModeS, wrapModeT);
}
@@ -153,9 +139,6 @@ namespace osu.Game.Skinning
return sourceSample;
}
- if (!AllowFallingBackToParent)
- return null;
-
return ParentSource?.GetSample(sampleInfo);
}
@@ -174,9 +157,6 @@ namespace osu.Game.Skinning
return bindable;
}
- if (!AllowFallingBackToParent)
- return null;
-
return ParentSource?.GetConfig(lookup);
}
finally