From 349e38e84872df20359f2ba87dd30ac7c47d196a Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 29 Mar 2024 17:22:54 +0100 Subject: [PATCH] cleanup --- src/camera.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/camera.rs b/src/camera.rs index 33fd0f1..525b6d8 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -54,7 +54,6 @@ fn run_camera_controller( &mut Transform, &mut CameraController, &mut Projection, - &mut actor::Actor, &actor::LifeForm, &mut actor::Engine, &mut AngularVelocity, @@ -70,7 +69,7 @@ fn run_camera_controller( focused = window_result.unwrap().focused; } - if let Ok((mut transform, mut controller, mut projection, mut actor, lifeform, player_engine, mut angularvelocity, mut v)) = query.get_single_mut() { + if let Ok((mut transform, mut controller, mut projection, lifeform, player_engine, mut angularvelocity, mut v)) = query.get_single_mut() { if !controller.initialized { controller.initialized = true; transform.rotation =