--- a/QTfrontend/net/newnetclient.cpp Thu Dec 29 09:29:56 2011 +0100
+++ b/QTfrontend/net/newnetclient.cpp Thu Dec 29 09:35:04 2011 +0100
@@ -81,6 +81,9 @@
RawSendNet(QString("CREATE_ROOM%1%2").arg(delimeter).arg(room));
isChief = true;
+
+ //set our ready status to be true
+ RawSendNet(QString("TOGGLE_READY"));
}
void HWNewNet::JoinRoom(const QString & room)
@@ -167,7 +170,7 @@
}
void HWNewNet::OnConnect()
-{
+{
netClientState = Connected;
}
@@ -341,8 +344,10 @@
{
for(int i = 2; i < lst.size(); ++i)
{
- if (lst[i] == mynick)
+ if (lst[i] == mynick) {
emit setMyReadyStatus(setFlag);
+ }
+
emit setReadyStatus(lst[i], setFlag);
}
}