mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Fix tournament crashing when osu!(stable) is at ranking screen at startup
This commit is contained in:
@ -124,9 +124,6 @@ namespace osu.Game.Tournament.Screens.Gameplay
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
State.BindTo(ipc.State);
|
|
||||||
State.BindValueChanged(stateChanged, true);
|
|
||||||
|
|
||||||
ladder.ChromaKeyWidth.BindValueChanged(width => chroma.Width = width.NewValue, true);
|
ladder.ChromaKeyWidth.BindValueChanged(width => chroma.Width = width.NewValue, true);
|
||||||
|
|
||||||
warmup.BindValueChanged(w =>
|
warmup.BindValueChanged(w =>
|
||||||
@ -136,6 +133,14 @@ namespace osu.Game.Tournament.Screens.Gameplay
|
|||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
|
State.BindTo(ipc.State);
|
||||||
|
State.BindValueChanged(stateChanged, true);
|
||||||
|
}
|
||||||
|
|
||||||
protected override void CurrentMatchChanged(ValueChangedEvent<TournamentMatch> match)
|
protected override void CurrentMatchChanged(ValueChangedEvent<TournamentMatch> match)
|
||||||
{
|
{
|
||||||
base.CurrentMatchChanged(match);
|
base.CurrentMatchChanged(match);
|
||||||
|
Reference in New Issue
Block a user