equal
deleted
inserted
replaced
160 let mut result = Vec::new(); |
160 let mut result = Vec::new(); |
161 |
161 |
162 for tile_description in self.template.tiles.iter() { |
162 for tile_description in self.template.tiles.iter() { |
163 if let Ok(mut tiles) = Self::load_image_tiles(parameters, tile_description) { |
163 if let Ok(mut tiles) = Self::load_image_tiles(parameters, tile_description) { |
164 result.append(&mut tiles); |
164 result.append(&mut tiles); |
|
165 } else { |
|
166 eprintln!("Failed to load a tile!"); |
165 } |
167 } |
166 } |
168 } |
167 |
169 |
168 result |
170 result |
169 } |
171 } |