diff --git a/src/lib.rs b/src/lib.rs index 290a840..9b9d7ce 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -89,7 +89,7 @@ struct WorldSize { struct TitleUI; fn spawn_camera(mut commands: Commands) { - commands.spawn(Camera2dBundle::default()); + commands.spawn(Camera2d); } fn spawn_player(