mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 03:23:03 +08:00
Ensure seeding results get beatmaps populated if BeatmapIno
model is null
This commit is contained in:
parent
d77b6b3603
commit
1e2e0dea74
@ -238,7 +238,7 @@ namespace osu.Game.Tournament
|
||||
var beatmapsRequiringPopulation = ladder.Teams
|
||||
.SelectMany(r => r.SeedingResults)
|
||||
.SelectMany(r => r.Beatmaps)
|
||||
.Where(b => b.Beatmap?.OnlineID == 0 && b.ID > 0).ToList();
|
||||
.Where(b => (b.Beatmap == null || b.Beatmap.OnlineID == 0) && b.ID > 0).ToList();
|
||||
|
||||
if (beatmapsRequiringPopulation.Count == 0)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user