QTfrontend/net/newnetclient.cpp
changeset 6739 97dab041f995
parent 6737 ce5fbd98370f
child 6952 7f70f37bbf08
--- a/QTfrontend/net/newnetclient.cpp	Sat Feb 25 22:18:08 2012 +0400
+++ b/QTfrontend/net/newnetclient.cpp	Sun Feb 26 12:15:32 2012 +0400
@@ -761,8 +761,11 @@
 
 void HWNewNet::gameFinished(bool correctly)
 {
-    if (netClientState == InGame) netClientState = InRoom;
-    RawSendNet(QString("ROUNDFINISHED%1%2").arg(delimeter).arg(correctly ? "1" : "0"));
+    if (netClientState == InGame)
+    {
+        netClientState = InRoom;
+        RawSendNet(QString("ROUNDFINISHED%1%2").arg(delimeter).arg(correctly ? "1" : "0"));
+    }
 }
 
 void HWNewNet::banPlayer(const QString & nick)