diff --git a/src/pathfinding.rs b/src/pathfinding.rs index ec44a11..355cd28 100644 --- a/src/pathfinding.rs +++ b/src/pathfinding.rs @@ -409,7 +409,7 @@ impl Plugin for PathfindingPlugin { .register_type::() .register_type::() .register_type::() - .add_systems(PreUpdate, (negotiate_path, poll_tasks)) + .add_systems(PreUpdate, (poll_tasks, negotiate_path).chain()) .add_systems( PreUpdate, (actions, calculate_path)