improve movement at overworld (#16)
Some checks failed
Rust / rustfmt (push) Successful in 25s
Rust / clippy (push) Failing after 1m30s
Rust / build (push) Successful in 3m8s

Reviewed-on: #16
Co-authored-by: luckyturtledev <git@lukas1818.de>
Co-committed-by: luckyturtledev <git@lukas1818.de>
This commit is contained in:
luckyturtledev 2024-07-07 14:03:49 +00:00 committed by LuckyTurtleDev
parent fe6651d573
commit fa990bfadb

View file

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