From c0980437a6f810ea397c7c61ad9d0ef36b091b04 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Sat, 7 Jan 2017 00:55:04 +0300 Subject: [PATCH] Removed unnecessary api reference --- osu.Game/Overlays/Options/General/LoginOptions.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/osu.Game/Overlays/Options/General/LoginOptions.cs b/osu.Game/Overlays/Options/General/LoginOptions.cs index 4ffa1e9381..b08393f476 100644 --- a/osu.Game/Overlays/Options/General/LoginOptions.cs +++ b/osu.Game/Overlays/Options/General/LoginOptions.cs @@ -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)