1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 14:12:54 +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 public class LoginOptions : OptionsSubsection, IOnlineComponent
{ {
private APIAccess api;
protected override string Header => "Sign In"; protected override string Header => "Sign In";
[BackgroundDependencyLoader(permitNulls: true)] [BackgroundDependencyLoader(permitNulls: true)]
private void load(APIAccess api) private void load(APIAccess api)
{ {
api?.Register(this); api?.Register(this);
this.api = api;
} }
public void APIStateChanged(APIAccess api, APIState state) public void APIStateChanged(APIAccess api, APIState state)