Pass ROUND_FINISHED to engine so it could stop syncing
authorunc0rr
Sun, 16 Dec 2012 12:16:21 +0400
changeset 8303 6331bceac95c
parent 8302 a7934cd12469
child 8304 620560c89284
child 8305 039ceb443aca
Pass ROUND_FINISHED to engine so it could stop syncing
QTfrontend/net/newnetclient.cpp
--- a/QTfrontend/net/newnetclient.cpp	Sun Dec 16 01:25:11 2012 +0100
+++ b/QTfrontend/net/newnetclient.cpp	Sun Dec 16 12:16:21 2012 +0400
@@ -639,6 +639,12 @@
             return;
         }
 
+        if (lst[0] == "ROUND_FINISHED")
+        {
+            emit FromNet(QByteArray("\x01o"));
+            return;
+        }
+
         if (lst[0] == "ADD_TEAM")
         {
             if(lst.size() != 24)