Chain dependent systems.
This commit is contained in:
parent
e381109cad
commit
40047010fe
|
@ -409,7 +409,7 @@ impl Plugin for PathfindingPlugin {
|
|||
.register_type::<NoPath>()
|
||||
.register_type::<Path>()
|
||||
.register_type::<CostMap>()
|
||||
.add_systems(PreUpdate, (negotiate_path, poll_tasks))
|
||||
.add_systems(PreUpdate, (poll_tasks, negotiate_path).chain())
|
||||
.add_systems(
|
||||
PreUpdate,
|
||||
(actions, calculate_path)
|
||||
|
|
Loading…
Reference in New Issue
Block a user