diff --git a/src/main.rs b/src/main.rs index 53fddd2..7dd7b42 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,9 +25,9 @@ struct BoidBundle { boid: Boid, } -fn move_boids(mut boids: Query<(&mut Transform, &Velocity), With>) { +fn move_boids(mut boids: Query<(&mut Transform, &Velocity), With>, time: Res