diff --git a/examples/bench.rs b/examples/bench.rs index 1290f315..d4d8d29e 100644 --- a/examples/bench.rs +++ b/examples/bench.rs @@ -29,9 +29,9 @@ fn startup( ), &mut meshes, material_handle, - |_| Some(TileBundle::default()), 0u16, 0u16, + |_| Some(TileBundle::default()), ); // Create map entity and component: diff --git a/src/layer_builder.rs b/src/layer_builder.rs index 2b502ecd..20257b09 100644 --- a/src/layer_builder.rs +++ b/src/layer_builder.rs @@ -63,9 +63,9 @@ where mut settings: LayerSettings, meshes: &mut ResMut>, material_handle: Handle, - mut f: F, map_id: I, layer_id: I, + mut f: F, ) -> Entity { let layer_entity = commands.spawn().id();