Add missing ToArray() call

This commit is contained in:
Dean Herbert 2021-07-07 14:08:29 +09:00
parent ca791c2afa
commit c18b8ca86c

View File

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