Remove single local usage of AllSources

This commit is contained in:
Dean Herbert 2021-07-07 13:52:52 +09:00
parent eb8b14a931
commit 35d4b12a4f

View File

@ -198,8 +198,8 @@ namespace osu.Game.Skinning
/// </summary>
protected void ResetSources()
{
foreach (var skin in AllSources.ToArray())
RemoveSource(skin);
foreach (var i in skinSources)
RemoveSource(i.skin);
}
/// <summary>