cleanup since we allow this now on workspace level
This commit is contained in:
@@ -55,7 +55,6 @@ pub fn plugin(app: &mut App) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "client")]
|
#[cfg(feature = "client")]
|
||||||
#[allow(clippy::too_many_arguments)]
|
|
||||||
fn backpack_inputs(
|
fn backpack_inputs(
|
||||||
backpacks: Single<
|
backpacks: Single<
|
||||||
(&Backpack, &mut backpack_ui::BackpackUiState),
|
(&Backpack, &mut backpack_ui::BackpackUiState),
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ fn deadzone_square(v: Vec2, min: f32) -> Vec2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Collect gamepad inputs
|
/// Collect gamepad inputs
|
||||||
#[allow(clippy::too_many_arguments)]
|
|
||||||
fn gamepad_controls(
|
fn gamepad_controls(
|
||||||
gamepads: Query<&Gamepad>,
|
gamepads: Query<&Gamepad>,
|
||||||
mut inputs: Single<&mut LocalInputs>,
|
mut inputs: Single<&mut LocalInputs>,
|
||||||
@@ -183,7 +182,6 @@ fn mouse_rotate(mut mouse: MessageReader<MouseMotion>, mut look_dir: ResMut<Look
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Collect keyboard input
|
/// Collect keyboard input
|
||||||
#[allow(clippy::too_many_arguments)]
|
|
||||||
fn keyboard_controls(
|
fn keyboard_controls(
|
||||||
keyboard: Res<ButtonInput<KeyCode>>,
|
keyboard: Res<ButtonInput<KeyCode>>,
|
||||||
mouse: Res<ButtonInput<MouseButton>>,
|
mouse: Res<ButtonInput<MouseButton>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user