diff --git a/src/input.rs b/src/input.rs index aea7eb8..7901b59 100644 --- a/src/input.rs +++ b/src/input.rs @@ -6,7 +6,7 @@ pub struct InputPlugin; impl Plugin for InputPlugin { fn build(&self, app: &mut App) { - app.add_systems(Update, mouse_input.run_if(playing())); + app.add_systems(PreUpdate, mouse_input.run_if(playing())); } }