mirror of
https://github.com/lightsoutgames/bevy_full_throttle
synced 2025-01-22 20:05:56 +00:00
fix: Don't explicitly add ctrl-c-handling plugin as it is likely included in related groups.
This commit is contained in:
parent
4fa1e45e93
commit
d51ef53f49
|
@ -89,8 +89,7 @@ pub struct FullThrottlePlugin {
|
||||||
|
|
||||||
impl Plugin for FullThrottlePlugin {
|
impl Plugin for FullThrottlePlugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.add_plugins(TerminalCtrlCHandlerPlugin)
|
app.insert_resource(*self)
|
||||||
.insert_resource(*self)
|
|
||||||
.add_systems(Startup, setup)
|
.add_systems(Startup, setup)
|
||||||
.add_systems(PostUpdate, (focus_change, exit));
|
.add_systems(PostUpdate, (focus_change, exit));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user