Skip to content

Commit 1f4fa91

Browse files
authored
Use bevy version 0.9 (#19)
1 parent 3a6bd86 commit 1f4fa91

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ edition = "2021"
55
license = "MIT OR Apache-2.0"
66

77
[dependencies]
8-
bevy = "0.8"
8+
bevy = "0.9"

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ fn main() {
1414
}
1515

1616
fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
17-
commands.spawn_bundle(Camera2dBundle::default());
18-
commands.spawn_bundle(SpriteBundle {
17+
commands.spawn(Camera2dBundle::default());
18+
commands.spawn(SpriteBundle {
1919
texture: asset_server.load("icon.png"),
2020
..Default::default()
2121
});

0 commit comments

Comments
 (0)