mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Fix beatmap skin on mania breaking HUD apart
This commit is contained in:
parent
66adddbfb8
commit
a421231aad
@ -92,6 +92,10 @@ namespace osu.Game.Rulesets.Mania.Skinning.Legacy
|
||||
if (base.GetDrawableComponent(lookup) is UserConfiguredLayoutContainer d)
|
||||
return d;
|
||||
|
||||
// we don't have enough assets to display these components (this is especially the case on a "beatmap" skin).
|
||||
if (!IsProvidingLegacyResources)
|
||||
return null;
|
||||
|
||||
return new DefaultSkinComponentsContainer(container =>
|
||||
{
|
||||
var combo = container.ChildrenOfType<LegacyManiaComboCounter>().FirstOrDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user