QTfrontend/hwform.cpp
changeset 4908 99d6797b7ff4
parent 4902 45ec26ca9491
child 4976 088d40d8aba2
--- a/QTfrontend/hwform.cpp	Wed Feb 02 21:53:19 2011 +0300
+++ b/QTfrontend/hwform.cpp	Wed Feb 02 22:14:00 2011 +0300
@@ -970,7 +970,7 @@
             Music(ui.pageOptions->CBEnableFrontendMusic->isChecked());
             if (wBackground) wBackground->startAnimation();
             GoToPage(ID_PAGE_GAMESTATS);
-            if (hwnet && (!game || !game->netSuspend)) hwnet->gameFinished();
+            if (hwnet && (!game || !game->netSuspend)) hwnet->gameFinished(true);
             if (game) game->netSuspend = false;
             break;
         }
@@ -985,7 +985,7 @@
                 if (id == ID_PAGE_INGAME) GoBack();
                 Music(ui.pageOptions->CBEnableFrontendMusic->isChecked());
                 if (wBackground) wBackground->startAnimation();
-                if (hwnet) hwnet->gameFinished();
+                if (hwnet) hwnet->gameFinished(false);
             }
             if (gameState == gsHalted) close();
         };