fix: Don't explicitly add ctrl-c-handling plugin as it is likely included in related groups.

This commit is contained in:
Nolan Darilek 2025-01-03 13:51:59 -05:00
parent 4fa1e45e93
commit d51ef53f49

View File

@ -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));
} }