Put ToArray call in correct place in brackets

This commit is contained in:
Dean Herbert
2022-04-01 19:30:16 +09:00
parent 01681ee874
commit 43d03f2825

View File

@ -148,7 +148,7 @@ namespace osu.Game.Skinning
string[] existingSkinNames = realm.Run(r => r.All<SkinInfo>()
.Where(skin => !skin.DeletePending)
.AsEnumerable()
.Select(skin => skin.Name)).ToArray();
.Select(skin => skin.Name).ToArray());
// if the user is attempting to save one of the default skin implementations, create a copy first.
var skinInfo = new SkinInfo