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

@ -24,7 +24,7 @@ namespace osu.Game.Database
[OneToMany(CascadeOperations = CascadeOperation.All)]
public List<BeatmapInfo> Beatmaps { get; set; }
public float MaxStarDifficulty => Beatmaps.Max(b => b.StarDifficulty);
public double MaxStarDifficulty => Beatmaps.Max(b => b.StarDifficulty);
public bool DeletePending { get; set; }