diff --git a/examples/input/keyboard_input_events.rs b/examples/input/keyboard_input_events.rs index 0c8f172933490..fc0fe43c7090c 100644 --- a/examples/input/keyboard_input_events.rs +++ b/examples/input/keyboard_input_events.rs @@ -3,7 +3,7 @@ use bevy::{input::keyboard::KeyboardInput, prelude::*}; fn main() { App::build() .add_plugins(DefaultPlugins) - .add_system(print_keyboard_event_system) + .add_system(print_keyboard_event_system.system()) .run(); }