mirror of
https://github.com/ppy/osu
synced 2025-01-05 05:39:49 +00:00
Clear hash when creating copy of existing difficulty
This commit is contained in:
parent
90c48de9f8
commit
ecd6a68c6f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user