Fix more test regressions.

This commit is contained in:
Dean Herbert 2017-02-27 19:48:48 +09:00
parent 21c6f66017
commit 777f673a46
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public BeatmapGroup(BeatmapSetInfo beatmapSet, BeatmapDatabase database)
BeatmapSet = beatmapSet;
WorkingBeatmap beatmap = database.GetWorkingBeatmap(BeatmapSet.Beatmaps.FirstOrDefault());
foreach (var b in BeatmapSet.Beatmaps)
b.StarDifficulty = (float)database.GetWorkingBeatmap(b).Beatmap.CalculateStarDifficulty();
b.StarDifficulty = (float)(database.GetWorkingBeatmap(b).Beatmap?.CalculateStarDifficulty() ?? 0);
Header = new BeatmapSetHeader(beatmap)
{