Skip to content

Commit 6e9375b

Browse files
committed
Change from deprecated Camera2dBundle to Camera2d
1 parent a88dc35 commit 6e9375b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_dogoap/examples/miner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ fn startup(mut commands: Commands, windows: Query<&Window>) {
276276
}
277277

278278
// Spawn a camera so we see something
279-
commands.spawn(Camera2dBundle::default());
279+
commands.spawn(Camera2d::default());
280280
}
281281

282282
// Spawn new mushrooms if there are less than 10

0 commit comments

Comments
 (0)