Skip to content

Commit

Permalink
Change from deprecated Camera2dBundle to Camera2d
Browse files Browse the repository at this point in the history
  • Loading branch information
victorb committed Dec 23, 2024
1 parent a88dc35 commit 6e9375b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_dogoap/examples/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ fn startup(mut commands: Commands, windows: Query<&Window>) {
}

// Spawn a camera so we see something
commands.spawn(Camera2dBundle::default());
commands.spawn(Camera2d::default());
}

// Spawn new mushrooms if there are less than 10
Expand Down

0 comments on commit 6e9375b

Please sign in to comment.