Set _isConnected to false when failing to parse address (#2058)

This commit is contained in:
Exp
2020-09-10 12:41:04 +02:00
committed by GitHub
parent 097e02ab4f
commit 25ca386d26

View File

@@ -131,6 +131,7 @@ namespace Content.Client.State
_userInterfaceManager.Popup($"Unable to connect: {e.Message}", "Connection error.");
Logger.Warning(e.ToString());
_netManager.ConnectFailed -= _onConnectFailed;
_setConnectingState(false);
}
}