Always send default version. With the default tag the version is not sent automatically.

This commit is contained in:
Andreas 2013-02-08 18:52:14 +01:00
parent e21fe31404
commit 8175e23f91
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ void OutgoingDataCreator::SendDataToClients(pb::remote::Message* msg) {
return;
}
// Send the default version
msg->set_version(msg->default_instance().version());
RemoteClient* client;
foreach(client, *clients_) {
// Check if the client is still active