improve movement at overworld (#16)
Reviewed-on: #16 Co-authored-by: luckyturtledev <git@lukas1818.de> Co-committed-by: luckyturtledev <git@lukas1818.de>
This commit is contained in:
parent
fe6651d573
commit
fa990bfadb
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue