mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:43:04 +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)
|
||||
return;
|
||||
|
||||
var existingSkinNames = realm.Run(r => r.All<SkinInfo>()
|
||||
.Where(skin => !skin.DeletePending)
|
||||
.AsEnumerable()
|
||||
.Select(skin => skin.Name));
|
||||
string[] existingSkinNames = realm.Run(r => r.All<SkinInfo>()
|
||||
.Where(skin => !skin.DeletePending)
|
||||
.AsEnumerable()
|
||||
.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
|
||||
|
Loading…
Reference in New Issue
Block a user