Fix cases of multiple bdl methods

This commit is contained in:
Dean Herbert
2020-10-22 14:30:49 +09:00
parent 303975ccb1
commit 3fe6f77444
3 changed files with 3 additions and 16 deletions

View File

@ -49,16 +49,12 @@ namespace osu.Game.Overlays.Toolbar
});
}
[BackgroundDependencyLoader]
private void load()
{
apiState.BindTo(api.State);
apiState.BindValueChanged(onlineStateChanged, true);
}
[BackgroundDependencyLoader(true)]
private void load(LoginOverlay login)
{
apiState.BindTo(api.State);
apiState.BindValueChanged(onlineStateChanged, true);
StateContainer = login;
}