mirror of https://github.com/ppy/osu
Fix more test regressions.
This commit is contained in:
parent
21c6f66017
commit
777f673a46
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue