Skip to content

Commit

Permalink
fix: system ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0539 committed Oct 1, 2024
1 parent ca915b9 commit e36d49f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use bevy::{
ecs::entity::EntityHashMap,
prelude::*,
tasks::AsyncComputeTaskPool,
transform::systems::sync_simple_transforms,
transform::TransformSystem,
};
use polyanya::{Layer, Mesh, Triangulation};

Expand Down Expand Up @@ -650,7 +650,7 @@ impl<Obstacle: ObstacleSource, Marker: Component> Plugin
fn build(&self, app: &mut App) {
app.add_systems(
PostUpdate,
trigger_navmesh_build::<Marker, Obstacle>.after(sync_simple_transforms),
trigger_navmesh_build::<Marker, Obstacle>.after(TransformSystem::TransformPropagate),
)
.add_systems(PreUpdate, (drop_dead_tasks, update_navmesh_asset).chain())
.register_diagnostic(Diagnostic::new(NAVMESH_BUILD_DURATION));
Expand Down

0 comments on commit e36d49f

Please sign in to comment.