Clear hash when creating copy of existing difficulty

This commit is contained in:
Bartłomiej Dach 2022-02-06 20:05:32 +01:00
parent 90c48de9f8
commit ecd6a68c6f
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -136,6 +136,8 @@ namespace osu.Game.Beatmaps
newBeatmapInfo.ID = Guid.NewGuid();
// clear difficulty name to avoid clashes on save.
newBeatmapInfo.DifficultyName = string.Empty;
// also clear the hash, as that's what is used to match .osu files with their corresponding realm beatmaps.
newBeatmapInfo.Hash = string.Empty;
}
// populate circular beatmap set info <-> beatmap info references manually.