QTfrontend/newnetclient.cpp
changeset 1405 ee4b28a1861d
parent 1404 2b6b6809c2e4
child 1410 eece43296890
--- a/QTfrontend/newnetclient.cpp	Fri Oct 24 12:57:06 2008 +0000
+++ b/QTfrontend/newnetclient.cpp	Fri Oct 24 13:00:53 2008 +0000
@@ -253,6 +253,25 @@
 		return;
 	}
 
+	if (lst[0] == "READY") {
+		if(lst.size() != 2)
+		{
+			qWarning("Net: Malformed READY message");
+			return;
+		}
+		emit setReadyStatus(lst[1], true);
+		return;
+	}
+	if (lst[0] == "NOT_READY") {
+		if(lst.size() != 2)
+		{
+			qWarning("Net: Malformed NOT_READY message");
+			return;
+		}
+		emit setReadyStatus(lst[1], false);
+		return;
+	}
+
 	if (lst[0] == "ADD_TEAM") {
 		if(lst.size() != 21)
 		{