mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
remove useless argument
This commit is contained in:
parent
f3f0227511
commit
fc6da8856d
|
@ -37,8 +37,7 @@ fn update_look(
|
|||
fn update_movement(
|
||||
controllers: View<FlyController>,
|
||||
mut transforms: ViewMut<Transform>,
|
||||
inputs: UniqueView<Inputs>,
|
||||
settings: UniqueView<GameSettings>,
|
||||
inputs: UniqueView<Inputs>
|
||||
) {
|
||||
let movement = inputs.movement;
|
||||
if movement == Vec2::ZERO { return }
|
||||
|
|
Loading…
Reference in a new issue