From 40047010fed7184d8114f7fc07272b49c7ba9c5f Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 14 Mar 2024 13:38:39 -0500 Subject: [PATCH] Chain dependent systems. --- src/pathfinding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)