diff --git a/src/chunk_group.rs b/src/chunk_group.rs index b657cc5..231c4e7 100644 --- a/src/chunk_group.rs +++ b/src/chunk_group.rs @@ -257,8 +257,6 @@ pub fn update_chunk_groups<'a>( } scope.spawn(async move { - puffin::profile_scope!("Get chunk group"); - //If not a center chunk in our current update step, or we don't have the chunk, continue let same_x = (chunk_pos.x + x_toff + manager_pos.x.abs() % 2) % 2 == 0; let same_y = (chunk_pos.y + y_toff + manager_pos.y.abs() % 2) % 2 == 0; diff --git a/src/chunk_manager.rs b/src/chunk_manager.rs index 817ea19..32063c1 100644 --- a/src/chunk_manager.rs +++ b/src/chunk_manager.rs @@ -327,6 +327,7 @@ pub fn update_has_collider( down_right.x as i32, down_right.y as i32, ); + has_collider.0.push(bounds_rect); } }