mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Pass RuleSet to ScoreStore, compute and store MD5 for legacy replays compatibility
This commit is contained in:
@ -52,6 +52,8 @@ namespace osu.Game.Beatmaps
|
||||
[JsonProperty("file_md5")]
|
||||
public string Hash { get; set; }
|
||||
|
||||
public string MD5Hash { get; set; }
|
||||
|
||||
// General
|
||||
public int AudioLeadIn { get; set; }
|
||||
public bool Countdown { get; set; }
|
||||
|
@ -367,6 +367,7 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
beatmap.BeatmapInfo.Path = name;
|
||||
beatmap.BeatmapInfo.Hash = ms.ComputeSHA2Hash();
|
||||
beatmap.BeatmapInfo.MD5Hash = ms.ComputeMD5Hash();
|
||||
|
||||
// TODO: Diff beatmap metadata with set metadata and leave it here if necessary
|
||||
beatmap.BeatmapInfo.Metadata = null;
|
||||
|
Reference in New Issue
Block a user