From 77b3d458de5b185eec59901d7777e956424c9897 Mon Sep 17 00:00:00 2001 From: Julia Naomi Date: Tue, 5 Dec 2023 09:31:15 -0600 Subject: [PATCH] fmt --- src/player.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/player.rs b/src/player.rs index a6730c0..cb30556 100644 --- a/src/player.rs +++ b/src/player.rs @@ -1,4 +1,4 @@ -use bevy::{prelude::*, window::PrimaryWindow, input::mouse::MouseWheel}; +use bevy::{input::mouse::MouseWheel, prelude::*, window::PrimaryWindow}; use crate::{get_sprite_rotation, physics::Velocity}; @@ -29,7 +29,6 @@ impl Plugin for PlayerPlugin { ) .add_systems(Update, (change_movement_style, bark)) .add_systems(Update, (set_cam_distance, camera_movement)); - } } @@ -211,7 +210,7 @@ fn player_movemnt_by_wasd( fn camera_movement( mut camera_query: Query<(&mut Transform, &mut CameraDistance), With>, player_query: Query<&Transform, (With, Without)>, - time : Res