diff --git a/src/pathfinding.rs b/src/pathfinding.rs index 960b864..1cf08a2 100644 --- a/src/pathfinding.rs +++ b/src/pathfinding.rs @@ -183,10 +183,7 @@ fn calculate_path( query_pipeline: Res, obstructions: Query<&MapObstruction>, collider_query: QueryPipelineColliderComponentsQuery, - query: Query< - (Entity, &Destination, &Coordinates, &ColliderShape), - (Without, Without, Without), - >, + query: Query<(Entity, &Destination, &Coordinates, &ColliderShape), Changed>, map: Query<&Map>, ) { for (entity, destination, coordinates, shape) in query.iter() {