QTfrontend/hwform.cpp
changeset 4431 a5827e0e5e0b
parent 4430 cacda05a053e
child 4432 81f52117085d
--- a/QTfrontend/hwform.cpp	Sun Nov 28 13:58:25 2010 -0500
+++ b/QTfrontend/hwform.cpp	Sun Nov 28 14:25:24 2010 -0500
@@ -547,7 +547,7 @@
             GoBack();
 
     if (curid == ID_PAGE_ROOMSLIST) NetDisconnect();
-    if (curid == ID_PAGE_NETGAME) hwnet->partRoom();
+    if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom();
 
     if (curid == ID_PAGE_SCHEME)
         ammoSchemeModel->Save();