disable last commit w/ comment
authornemo
Sun, 28 Nov 2010 14:38:42 -0500
changeset 4432 81f52117085d
parent 4431 a5827e0e5e0b
child 4433 e0092290b7c5
disable last commit w/ comment
QTfrontend/hwform.cpp
--- 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();