more smooth
Some checks failed
Rust / rustfmt (pull_request) Successful in 22s
Rust / clippy (pull_request) Failing after 58s
Rust / build (pull_request) Successful in 2m47s

This commit is contained in:
luckyturtledev 2024-07-07 15:51:34 +02:00
parent 125e7c1d1f
commit 5f935fa73e

View file

@ -36,6 +36,8 @@ fn update_move_player(state: &mut State, ctx: &mut EngineContext<'_>) {
state.ghost.overworld_movement_pending state.ghost.overworld_movement_pending
); );
state.ghost.update_overworld_pos(now); state.ghost.update_overworld_pos(now);
}
if state.ghost.overworld_movement_pending != Vec2::ZERO {
return; return;
} }