--- a/QTfrontend/netserver.cpp Sun Feb 04 16:56:39 2007 +0000
+++ b/QTfrontend/netserver.cpp Sun Feb 04 17:00:46 2007 +0000
@@ -138,6 +138,14 @@
return true;
}
+void HWNetServer::resetStart()
+{
+ QList<HWConnectedClient*>::iterator it;
+ for(it=connclients.begin(); it!=connclients.end(); ++it) {
+ (*it)->readyToStart=false;
+ }
+}
+
QString HWNetServer::prepareConfig(QStringList lst)
{
QString msg=lst.join((QString)delimeter)+delimeter;
@@ -234,6 +242,7 @@
if(m_hwserver->shouldStart(this)) {
// start
m_hwserver->sendAll("RUNGAME");
+ m_hwserver->resetStart();
}
return;
}