diff --git a/Intersect.Client.Core/Interface/Menu/MainMenuWindow.cs b/Intersect.Client.Core/Interface/Menu/MainMenuWindow.cs index bf0e455b3..cfb780dff 100644 --- a/Intersect.Client.Core/Interface/Menu/MainMenuWindow.cs +++ b/Intersect.Client.Core/Interface/Menu/MainMenuWindow.cs @@ -192,11 +192,17 @@ internal void Update() _buttonLogin.IsDisabled = Globals.WaitingOnServer; _buttonRegister.IsDisabled = Globals.WaitingOnServer; } + else + { + UpdateDisabled(); + } } + internal void UpdateDisabled() { - var isOffline = MainMenu.ActiveNetworkStatus != NetworkStatus.Online; + var networkStatus = MainMenu.ActiveNetworkStatus; + var isOffline = networkStatus != NetworkStatus.Online; _buttonLogin.IsDisabled = isOffline; _buttonRegister.IsDisabled = isOffline || (Options.IsLoaded && Options.Instance.BlockClientRegistrations); }