mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:22:57 +08:00
fix style
This commit is contained in:
parent
de8d485305
commit
e619c9c1e6
@ -146,7 +146,7 @@ namespace osu.Game.Beatmaps
|
||||
if (updatedBeatmap == null)
|
||||
continue;
|
||||
|
||||
updatedBeatmap.transferCollectionsFrom(realm, originalBeatmap.MD5Hash);
|
||||
updatedBeatmap.TransferCollectionsFrom(realm, originalBeatmap.MD5Hash);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -214,7 +214,7 @@ namespace osu.Game.Beatmaps
|
||||
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));
|
||||
|
||||
|
@ -330,7 +330,7 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
setInfo.CopyChangesToRealm(liveBeatmapSet);
|
||||
|
||||
beatmapInfo.transferCollectionsFrom(r, oldMd5Hash);
|
||||
beatmapInfo.TransferCollectionsFrom(r, oldMd5Hash);
|
||||
|
||||
ProcessBeatmap?.Invoke((liveBeatmapSet, false));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user