diff --git a/examples/hello_world.rs b/examples/hello_world.rs index e089a09..d46f178 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -5,7 +5,7 @@ fn main() { App::build() .add_plugins(DefaultPlugins) .add_plugin(bevy_tts::TtsPlugin) - .add_system(bevy::input::system::exit_on_esc_system.system()) + .add_system(bevy::input::system::exit_on_esc_system) .add_startup_system(setup) .add_system(event_poll) .add_system(greet)