From 95e32b36899434a52567afc612e22fbdb142b9a4 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 13 Jul 2022 09:25:42 -0500 Subject: [PATCH] Update direction later to hopefully fix other miscalculations. --- src/navigation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navigation.rs b/src/navigation.rs index e7cab5e..2694757 100644 --- a/src/navigation.rs +++ b/src/navigation.rs @@ -393,7 +393,7 @@ where .register_type::() .register_type::() .register_type::() - .add_system(update_direction.before(SNAP)) + .add_system_to_stage(CoreStage::PostUpdate, update_direction) .add_system_to_stage(CoreStage::PostUpdate, remove_direction) .add_system(speak_direction.chain(error_handler)) .add_system(add_speed)