QTfrontend/hwform.cpp
changeset 6030 2577028cba07
parent 6026 2833862a7e00
child 6036 727d13409891
--- a/QTfrontend/hwform.cpp	Sun Sep 25 15:40:01 2011 -0400
+++ b/QTfrontend/hwform.cpp	Sun Sep 25 21:54:26 2011 +0200
@@ -549,7 +549,7 @@
             GoBack();
 
     if (curid == ID_PAGE_ROOMSLIST || curid == ID_PAGE_CONNECTING) NetDisconnect();
-    if (curid == ID_PAGE_NETGAME && hwnet && hwnet.isInRoom()) hwnet->partRoom();
+    if (curid == ID_PAGE_NETGAME && hwnet && hwnet->isInRoom()) 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();