Skip to content

Commit

Permalink
Change SkinProvidingContainer to also return parent sources in `All…
Browse files Browse the repository at this point in the history
…Sources`
  • Loading branch information
peppy committed Sep 30, 2024
1 parent d2b855d commit c84c72e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions osu.Game/Skinning/SkinProvidingContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ public IEnumerable<ISkin> AllSources
yield return i.skin;

if (ParentSource != null)
{
foreach (var skin in ParentSource.AllSources)
yield return skin;
}
yield return ParentSource;
}
}

Expand Down

0 comments on commit c84c72e

Please sign in to comment.