QTfrontend/hwform.cpp
changeset 8709 191bd86f97a1
parent 8643 e4d1c21f8db0
child 8716 e09633d10f16
--- a/QTfrontend/hwform.cpp	Sun Mar 10 01:02:15 2013 +0100
+++ b/QTfrontend/hwform.cpp	Sun Mar 10 01:27:48 2013 +0100
@@ -994,9 +994,8 @@
 
 void HWForm::PlayDemoQuick(const QString & demofilename)
 {
-    if (game && game->gameState == gsStarted) return;
-    GoBack(); //needed to cleanly disconnect from netgame
     GoToPage(ID_PAGE_MAIN);
+    //GoBack() <- don't or you'll close the socket
     CreateGame(0, 0, 0);
     game->PlayDemo(demofilename, false);
 }