Skip to content

Commit

Permalink
Minor tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Dec 5, 2024
1 parent 279ed17 commit 05eb36a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/render/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ pub fn extract(
}
}

let extracted_tilemaps: Vec<(Entity, ExtractedTilemapBundle)> =
extracted_tilemaps.drain().map(|kv| kv.1).collect();
let extracted_tilemaps: Vec<_> = extracted_tilemaps.drain().map(|(_, val)| val).collect();

// Extracts tilemap textures.
for (render_entity, _, tile_size, tile_spacing, _, _, texture, _, _, _, _) in
Expand Down

0 comments on commit 05eb36a

Please sign in to comment.