From 880122c0bcc71e67bf7ef6b5df758f6ad6c1f7da Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 3 Dec 2020 16:33:06 -0600 Subject: [PATCH] Remove unnecessary .system() call. --- examples/hello_world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)