mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
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 @@ namespace osu.Game.Skinning
|
|||||||
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
Block a user