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

@ -32,8 +32,7 @@ namespace osu.Game.Tests.Visual
Dependencies.CacheAs<IFrameBasedClock>(Clock);
Dependencies.CacheAs<IAdjustableClock>(Clock);
Beatmap.ValueChanged += beatmapChanged;
beatmapChanged(Beatmap.Value);
Beatmap.BindValueChanged(beatmapChanged, true);
}
private void beatmapChanged(WorkingBeatmap working)