1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 09:42:54 +08:00

Merge branch 'tournament-drawable-team-tidy' into tournament-design-seeding

This commit is contained in:
Dean Herbert 2020-03-08 20:15:48 +09:00
commit ece049e0c9

View File

@ -37,11 +37,13 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
private readonly Func<bool> isWinner;
private LadderEditorScreen ladderEditor;
[Resolved]
[Resolved(canBeNull: true)]
private LadderInfo ladderInfo { get; set; }
private void setCurrent()
{
if (ladderInfo == null) return;
//todo: tournamentgamebase?
if (ladderInfo.CurrentMatch.Value != null)
ladderInfo.CurrentMatch.Value.Current.Value = false;