diff --git a/src/pathfinding.rs b/src/pathfinding.rs index f362494..8ff37b4 100644 --- a/src/pathfinding.rs +++ b/src/pathfinding.rs @@ -400,7 +400,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)