Set m_game_connected to false after emitting Disconnected(). This fixes a bug in a case such that when entering an invalid password, the game would bring you back to the main menu.
--- a/QTfrontend/newnetclient.cpp Wed Jun 08 03:36:54 2011 -0400
+++ b/QTfrontend/newnetclient.cpp Wed Jun 08 23:25:05 2011 -0400
@@ -189,6 +189,7 @@
void HWNewNet::displayError(QAbstractSocket::SocketError socketError)
{
emit Disconnected();
+ m_game_connected = false;
switch (socketError) {
case QAbstractSocket::RemoteHostClosedError: