diff --git a/src/main.rs b/src/main.rs index 26e5506..a420d7f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -79,8 +79,8 @@ fn setup( let circle_mesh = Mesh2dHandle(meshes.add(Rectangle::new(TILE_SIZE, TILE_SIZE))); let color = Color::from(tailwind::NEUTRAL_700); - for i in 0..=TILES { - for j in 0..=TILES { + for i in 0..TILES { + for j in 0..TILES { let tile_x = i as f32 * TILE_SPACE - CENTER; let tile_y = j as f32 * TILE_SPACE - CENTER; commands.spawn(MaterialMesh2dBundle {