1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 07:22:38 +08:00

Subscribe to event handler instead.

This commit is contained in:
Lucas A
2020-10-18 19:42:05 +02:00
Unverified
parent b60dfc55b6
commit 9cd595800a
+1 -1
View File
@@ -17,7 +17,7 @@ namespace osu.Android
private void load(OsuGame game)
{
localUserPlaying = game.LocalUserPlaying.GetBoundCopy();
localUserPlaying.BindValueChanged(userPlaying => updateLock(userPlaying));
localUserPlaying.ValueChanged += updateLock;
}
private void updateLock(ValueChangedEvent<bool> userPlaying)