QTfrontend/hwform.cpp
changeset 4432 81f52117085d
parent 4431 a5827e0e5e0b
child 4433 e0092290b7c5
--- a/QTfrontend/hwform.cpp	Sun Nov 28 14:25:24 2010 -0500
+++ b/QTfrontend/hwform.cpp	Sun Nov 28 14:38:42 2010 -0500
@@ -547,7 +547,9 @@
             GoBack();
 
     if (curid == ID_PAGE_ROOMSLIST) NetDisconnect();
-    if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom();
+    if (curid == ID_PAGE_NETGAME) hwnet->partRoom();
+    // need to work on this, can cause invalid state for admin quit trying to prevent bad state message on kick
+    //if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom();
 
     if (curid == ID_PAGE_SCHEME)
         ammoSchemeModel->Save();