mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Clear hash when creating copy of existing difficulty
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user