mirror of https://github.com/ppy/osu
Merge branch 'tournament-drawable-team-tidy' into tournament-design-schedule
This commit is contained in:
commit
7f38ff8046
|
@ -37,11 +37,13 @@ public class DrawableMatchTeam : DrawableTournamentTeam, IHasContextMenu
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue