1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 17:32:54 +08:00

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> /// </summary>
protected void ResetSources() protected void ResetSources()
{ {
foreach (var skin in AllSources.ToArray()) foreach (var i in skinSources)
RemoveSource(skin); RemoveSource(i.skin);
} }
/// <summary> /// <summary>