tell the lobby about game changes when we update side data

This commit is contained in:
Gunter Labes 2007-09-08 10:34:31 +00:00
parent 9787e5aee3
commit 4eb6b3b078

View file

@ -1125,6 +1125,8 @@ void server::process_data_from_player_in_game(const network::connection sock, co
// its old contents with the new ones given here
g->level() = data;
g->update_side_data();
// Send the update of the game description to the lobby
lobby_players_.send_data(sync_initial_response());
}
// Send the new data to all players in the level (except the sender).