diff --git a/Cargo.toml b/Cargo.toml index b1eb1fa..b75c35a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = { version = "0.9", default-features = false } +bevy = { version = "0.10", default-features = false } ctrlc = "3" [target.'cfg(windows)'.dependencies] diff --git a/src/lib.rs b/src/lib.rs index 92593fe..585f0c3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -76,6 +76,6 @@ impl Plugin for FullThrottlePlugin { app.insert_resource(*self) .add_startup_system(setup) .add_system(focus_change) - .add_system_to_stage(CoreStage::PostUpdate, exit); + .add_system(exit.in_base_set(CoreSet::PostUpdate)); } }