mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
Fix test bindables
This commit is contained in:
parent
389632d932
commit
f183210362
@ -3,7 +3,7 @@
|
||||
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Tournament.Screens.Ladder.Components;
|
||||
using osu.Game.Tournament.Screens.TeamIntro;
|
||||
@ -21,7 +21,7 @@ namespace osu.Game.Tournament.Tests
|
||||
var pairing = new MatchPairing();
|
||||
pairing.Team1.Value = Ladder.Teams.FirstOrDefault(t => t.Acronym == "USA");
|
||||
pairing.Team2.Value = Ladder.Teams.FirstOrDefault(t => t.Acronym == "JPN");
|
||||
pairing.Grouping.Value = Ladder.Groupings.FirstOrDefault(g => g.Name == "Finals");
|
||||
pairing.Grouping.Value = Ladder.Groupings.FirstOrDefault(g => g.Name.Value == "Finals");
|
||||
currentMatch.Value = pairing;
|
||||
|
||||
Add(new TeamIntroScreen
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Tournament.Screens.Ladder.Components;
|
||||
using osu.Game.Tournament.Screens.TeamWin;
|
||||
@ -21,7 +21,7 @@ namespace osu.Game.Tournament.Tests
|
||||
var pairing = new MatchPairing();
|
||||
pairing.Team1.Value = Ladder.Teams.FirstOrDefault(t => t.Acronym == "USA");
|
||||
pairing.Team2.Value = Ladder.Teams.FirstOrDefault(t => t.Acronym == "JPN");
|
||||
pairing.Grouping.Value = Ladder.Groupings.FirstOrDefault(g => g.Name == "Finals");
|
||||
pairing.Grouping.Value = Ladder.Groupings.FirstOrDefault(g => g.Name.Value == "Finals");
|
||||
currentMatch.Value = pairing;
|
||||
|
||||
Add(new TeamWinScreen
|
||||
|
Loading…
Reference in New Issue
Block a user