Skip to content

Commit 737af37

Browse files
committed
make recalculate_near_end_of_path public
so other plugins can do .after(recalculate_near_end_of_path)
1 parent 4f288b1 commit 737af37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azalea/src/pathfinder/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ fn check_for_path_obstruction(
618618
}
619619
}
620620

621-
fn recalculate_near_end_of_path(
621+
pub fn recalculate_near_end_of_path(
622622
mut query: Query<(Entity, &mut Pathfinder, &mut ExecutingPath)>,
623623
mut walk_events: EventWriter<StartWalkEvent>,
624624
mut goto_events: EventWriter<GotoEvent>,

0 commit comments

Comments
 (0)