Set _isConnected to false when failing to parse address (#2058)
This commit is contained in:
@@ -131,6 +131,7 @@ namespace Content.Client.State
|
|||||||
_userInterfaceManager.Popup($"Unable to connect: {e.Message}", "Connection error.");
|
_userInterfaceManager.Popup($"Unable to connect: {e.Message}", "Connection error.");
|
||||||
Logger.Warning(e.ToString());
|
Logger.Warning(e.ToString());
|
||||||
_netManager.ConnectFailed -= _onConnectFailed;
|
_netManager.ConnectFailed -= _onConnectFailed;
|
||||||
|
_setConnectingState(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user