Skip to content

Commit

Permalink
Remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac8668 committed Feb 4, 2024
1 parent 5bfb13b commit a41b5bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/chunk_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/chunk_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit a41b5bc

Please sign in to comment.