rust/hedgewars-server/src/handlers/common.rs
changeset 15541 b3157d218ae2
parent 15538 b907b9071ec5
child 15544 4a0b06b03199
equal deleted inserted replaced
15540:e705d30e0f10 15541:b3157d218ae2
   390                 } else {
   390                 } else {
   391                     None
   391                     None
   392                 };
   392                 };
   393                 get_room_update(None, room, room_master, response);
   393                 get_room_update(None, room, room_master, response);
   394 
   394 
   395                 for (_, client) in server.clients.iter() {
   395                 for client in server.iter_clients() {
   396                     if client.room_id == Some(room_id) {
   396                     if client.room_id == Some(room_id) {
   397                         super::common::get_room_config(&server.rooms[room_id], client.id, response);
   397                         super::common::get_room_config(&server.rooms[room_id], client.id, response);
   398                     }
   398                     }
   399                 }
   399                 }
   400             }
   400             }