Only calculate difficulties on import for now.

This commit is contained in:
Dean Herbert
2017-03-17 11:53:13 +09:00
parent 9c664e5b05
commit cd98af29c4
5 changed files with 5 additions and 14 deletions

View File

@ -236,6 +236,8 @@ namespace osu.Game.Database
// TODO: Diff beatmap metadata with set metadata and leave it here if necessary
beatmap.BeatmapInfo.Metadata = null;
beatmap.BeatmapInfo.StarDifficulty = beatmap.CalculateStarDifficulty();
beatmapSet.Beatmaps.Add(beatmap.BeatmapInfo);
}
beatmapSet.StoryboardFile = archive.StoryboardFilename;