Update direction later to hopefully fix other miscalculations.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2022-07-13 09:25:42 -05:00
parent 6b6a961720
commit 95e32b3689

View File

@ -393,7 +393,7 @@ where
.register_type::<MaxSpeed>()
.register_type::<RotationSpeed>()
.register_type::<Sprinting>()
.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)