Switch to new Camera2d struct over cam bundle

This commit is contained in:
2025-07-26 18:45:02 -05:00
parent cf678f9f16
commit a52311eac6

View File

@@ -89,7 +89,7 @@ struct WorldSize {
struct TitleUI;
fn spawn_camera(mut commands: Commands) {
commands.spawn(Camera2dBundle::default());
commands.spawn(Camera2d);
}
fn spawn_player(