mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-29 02:08:48 -06:00
remove useless argument
This commit is contained in:
parent
f3f0227511
commit
fc6da8856d
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue