1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 04:52:57 +08:00

fix style

This commit is contained in:
pfg 2022-10-10 21:48:41 -04:00
parent de8d485305
commit e619c9c1e6
3 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ namespace osu.Game.Beatmaps
if (updatedBeatmap == null) if (updatedBeatmap == null)
continue; continue;
updatedBeatmap.transferCollectionsFrom(realm, originalBeatmap.MD5Hash); updatedBeatmap.TransferCollectionsFrom(realm, originalBeatmap.MD5Hash);
} }
} }

View File

@ -214,7 +214,7 @@ namespace osu.Game.Beatmaps
return fileHashX == fileHashY; return fileHashX == fileHashY;
} }
public void transferCollectionsFrom(Realm realm, string oldMd5Hash) public void TransferCollectionsFrom(Realm realm, string oldMd5Hash)
{ {
var collections = realm.All<BeatmapCollection>().AsEnumerable().Where(c => c.BeatmapMD5Hashes.Contains(oldMd5Hash)); var collections = realm.All<BeatmapCollection>().AsEnumerable().Where(c => c.BeatmapMD5Hashes.Contains(oldMd5Hash));

View File

@ -330,7 +330,7 @@ namespace osu.Game.Beatmaps
setInfo.CopyChangesToRealm(liveBeatmapSet); setInfo.CopyChangesToRealm(liveBeatmapSet);
beatmapInfo.transferCollectionsFrom(r, oldMd5Hash); beatmapInfo.TransferCollectionsFrom(r, oldMd5Hash);
ProcessBeatmap?.Invoke((liveBeatmapSet, false)); ProcessBeatmap?.Invoke((liveBeatmapSet, false));
}); });