mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Trigger lock update on loading.
This commit is contained in:
parent
371aecfca0
commit
cd7c3021ca
@ -20,7 +20,7 @@ namespace osu.Android
|
|||||||
private void load(OsuGame game)
|
private void load(OsuGame game)
|
||||||
{
|
{
|
||||||
localUserPlaying = game.LocalUserPlaying.GetBoundCopy();
|
localUserPlaying = game.LocalUserPlaying.GetBoundCopy();
|
||||||
localUserPlaying.ValueChanged += updateLock;
|
localUserPlaying.BindValueChanged(updateLock, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateLock(ValueChangedEvent<bool> userPlaying)
|
private void updateLock(ValueChangedEvent<bool> userPlaying)
|
||||||
|
Loading…
Reference in New Issue
Block a user