Skip to content

Commit a7f467e

Browse files
authored
Update to Bevy 0.14 (#65)
1 parent bc4b276 commit a7f467e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ opt-level = 1
1616
opt-level = 3
1717

1818
[dependencies]
19-
bevy = "0.12"
19+
bevy = "0.14"

src/main.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ use bevy::prelude::*;
99

1010
fn main() {
1111
App::new()
12-
// Wasm builds will check for meta files (that don't exist) if this isn't set.
13-
// This causes errors and even panics on web build on itch.
14-
// See https://github.com/bevyengine/bevy_github_ci_template/issues/48.
15-
.insert_resource(AssetMetaCheck::Never)
16-
.add_plugins(DefaultPlugins)
12+
.add_plugins(DefaultPlugins.set(AssetPlugin {
13+
// Wasm builds will check for meta files (that don't exist) if this isn't set.
14+
// This causes errors and even panics in web builds on itch.
15+
// See https://github.com/bevyengine/bevy_github_ci_template/issues/48.
16+
meta_check: AssetMetaCheck::Never,
17+
..default()
18+
}))
1719
.add_systems(Startup, setup)
1820
.run();
1921
}

0 commit comments

Comments
 (0)