Use new bind method

This commit is contained in:
Dean Herbert
2018-06-07 16:46:54 +09:00
parent e6158bc348
commit 475fb06559
5 changed files with 7 additions and 15 deletions

View File

@ -237,11 +237,8 @@ namespace osu.Game.Overlays
protected override void LoadComplete()
{
beatmap.ValueChanged += beatmapChanged;
beatmap.DisabledChanged += beatmapDisabledChanged;
beatmapChanged(beatmap.Value);
beatmap.BindValueChanged(beatmapChanged, true);
beatmap.BindDisabledChanged(beatmapDisabledChanged, true);
base.LoadComplete();
}