From 23c49a0f5c908d9b2476c408f30b37118cd8e28f Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 5 Jan 2025 22:10:00 +0100 Subject: chore(engine): make query component tuple type elems references --- engine/src/camera/fly.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/src/camera/fly.rs') diff --git a/engine/src/camera/fly.rs b/engine/src/camera/fly.rs index b71f875..087f727 100644 --- a/engine/src/camera/fly.rs +++ b/engine/src/camera/fly.rs @@ -75,7 +75,7 @@ pub struct Options } fn update( - camera_query: Query<(Camera, Position, Fly, ActiveCamera)>, + camera_query: Query<(&mut Camera, &mut Position, &mut Fly, &ActiveCamera)>, keys: Single, cursor: Single, cursor_flags: Single, -- cgit v1.2.3-18-g5258