cleanup
This commit is contained in:
parent
f0739606ad
commit
349e38e848
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue