1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:47:25 +08:00

Removed unnecessary api reference

This commit is contained in:
Andrey Zavadskiy 2017-01-07 00:55:04 +03:00
parent acc50e3473
commit c0980437a6

View File

@ -17,15 +17,12 @@ namespace osu.Game.Overlays.Options.General
{
public class LoginOptions : OptionsSubsection, IOnlineComponent
{
private APIAccess api;
protected override string Header => "Sign In";
[BackgroundDependencyLoader(permitNulls: true)]
private void load(APIAccess api)
{
api?.Register(this);
this.api = api;
}
public void APIStateChanged(APIAccess api, APIState state)