mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Subscribe to event handler instead.
This commit is contained in:
parent
b60dfc55b6
commit
9cd595800a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user