mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 11:52:56 +08:00
Rename remaining clashing variables to appease CI somewhere
This commit is contained in:
parent
7772a97cf7
commit
846c80f12c
@ -209,15 +209,15 @@ namespace osu.Game.Database
|
|||||||
|
|
||||||
case 9:
|
case 9:
|
||||||
// Pretty pointless to do this as beatmaps aren't really loaded via realm yet, but oh well.
|
// Pretty pointless to do this as beatmaps aren't really loaded via realm yet, but oh well.
|
||||||
var oldItems = migration.OldRealm.DynamicApi.All(getMappedOrOriginalName(typeof(RealmBeatmapMetadata)));
|
var oldMetadata = migration.OldRealm.DynamicApi.All(getMappedOrOriginalName(typeof(RealmBeatmapMetadata)));
|
||||||
var newItems = migration.NewRealm.All<RealmBeatmapMetadata>();
|
var newMetadata = migration.NewRealm.All<RealmBeatmapMetadata>();
|
||||||
|
|
||||||
int itemCount = newItems.Count();
|
int itemCount = newMetadata.Count();
|
||||||
|
|
||||||
for (int i = 0; i < itemCount; i++)
|
for (int i = 0; i < itemCount; i++)
|
||||||
{
|
{
|
||||||
dynamic? oldItem = oldItems.ElementAt(i);
|
dynamic? oldItem = oldMetadata.ElementAt(i);
|
||||||
var newItem = newItems.ElementAt(i);
|
var newItem = newMetadata.ElementAt(i);
|
||||||
|
|
||||||
string username = oldItem.Author;
|
string username = oldItem.Author;
|
||||||
newItem.Author = new RealmUser
|
newItem.Author = new RealmUser
|
||||||
|
Loading…
Reference in New Issue
Block a user