From 138e8d8b42f4481e22a47c1af5bb0a4504e55400 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 6 Mar 2023 15:45:06 -0600 Subject: [PATCH] chore: Update to Bevy 0.10. --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)); } }