mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Don't show matches on schedule which don't have teams set
This commit is contained in:
@ -75,7 +75,7 @@ namespace osu.Game.Tournament.Screens.Schedule
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Width = 0.4f,
|
||||
ChildrenEnumerable = ladder.Pairings
|
||||
.Where(p => p.Completed.Value)
|
||||
.Where(p => p.Completed.Value && p.Team1.Value != null && p.Team2.Value != null)
|
||||
.OrderByDescending(p => p.Date.Value)
|
||||
.Take(8)
|
||||
.Select(p => new SchedulePairing(p))
|
||||
@ -85,7 +85,7 @@ namespace osu.Game.Tournament.Screens.Schedule
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Width = 0.6f,
|
||||
ChildrenEnumerable = ladder.Pairings
|
||||
.Where(p => !p.Completed.Value)
|
||||
.Where(p => !p.Completed.Value && p.Team1.Value != null && p.Team2.Value != null)
|
||||
.OrderBy(p => p.Date.Value)
|
||||
.Take(8)
|
||||
.Select(p => new SchedulePairing(p))
|
||||
|
Reference in New Issue
Block a user