mirror of https://github.com/ppy/osu
Add missing `ToArray` call
Not sure where this went, was there in my original commit.
This commit is contained in:
parent
69d4f86122
commit
01681ee874
|
@ -145,10 +145,10 @@ public void EnsureMutableSkin()
|
||||||
if (!s.Protected)
|
if (!s.Protected)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var existingSkinNames = realm.Run(r => r.All<SkinInfo>()
|
string[] existingSkinNames = realm.Run(r => r.All<SkinInfo>()
|
||||||
.Where(skin => !skin.DeletePending)
|
.Where(skin => !skin.DeletePending)
|
||||||
.AsEnumerable()
|
.AsEnumerable()
|
||||||
.Select(skin => skin.Name));
|
.Select(skin => skin.Name)).ToArray();
|
||||||
|
|
||||||
// if the user is attempting to save one of the default skin implementations, create a copy first.
|
// if the user is attempting to save one of the default skin implementations, create a copy first.
|
||||||
var skinInfo = new SkinInfo
|
var skinInfo = new SkinInfo
|
||||||
|
|
Loading…
Reference in New Issue