remove useless argument

This commit is contained in:
griffi-gh 2023-01-26 03:28:17 +01:00
parent f3f0227511
commit fc6da8856d

View file

@ -37,8 +37,7 @@ fn update_look(
fn update_movement( fn update_movement(
controllers: View<FlyController>, controllers: View<FlyController>,
mut transforms: ViewMut<Transform>, mut transforms: ViewMut<Transform>,
inputs: UniqueView<Inputs>, inputs: UniqueView<Inputs>
settings: UniqueView<GameSettings>,
) { ) {
let movement = inputs.movement; let movement = inputs.movement;
if movement == Vec2::ZERO { return } if movement == Vec2::ZERO { return }