mirror of
https://github.com/ppy/osu
synced 2025-01-10 16:19:47 +00:00
Improve local variable naming
This commit is contained in:
parent
1470ea0a31
commit
a1ee3df453
@ -867,12 +867,13 @@ namespace osu.Game.Database
|
||||
// Remove the default skins so they can be added back by SkinManager with updated naming.
|
||||
migration.NewRealm.RemoveRange(migration.NewRealm.All<SkinInfo>().Where(s => s.Protected));
|
||||
break;
|
||||
|
||||
case 26:
|
||||
// Adding origin beatmap hash property to ensure the score corresponds to the version of beatmap it should
|
||||
// See: https://github.com/ppy/osu/issues/22062
|
||||
string ScoreInfoName = getMappedOrOriginalName(typeof(ScoreInfo));
|
||||
string scoreInfoName = getMappedOrOriginalName(typeof(ScoreInfo));
|
||||
|
||||
var oldScoreInfos = migration.OldRealm.DynamicApi.All(ScoreInfoName);
|
||||
var oldScoreInfos = migration.OldRealm.DynamicApi.All(scoreInfoName);
|
||||
var newScoreInfos = migration.NewRealm.All<ScoreInfo>();
|
||||
|
||||
for (int i = 0; i < newScoreInfos.Count(); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user