# HG changeset patch
# User nemo
# Date 1290972324 18000
# Node ID a5827e0e5e0b9694216194691c2ad365df1608ff
# Parent  cacda05a053ea5949875632fcb5c6e082a38643a
suppress PART if game is running. testing, etc.

diff -r cacda05a053e -r a5827e0e5e0b QTfrontend/hwform.cpp
--- 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();