diff options
Diffstat (limited to 'server/src/customer/pathfinding.rs')
-rw-r--r-- | server/src/customer/pathfinding.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/customer/pathfinding.rs b/server/src/customer/pathfinding.rs index 5056975e..73999e0c 100644 --- a/server/src/customer/pathfinding.rs +++ b/server/src/customer/pathfinding.rs @@ -41,10 +41,11 @@ impl Path { player.update( &walkable, (next - player.position).normalize_or_zero() * 0.5, + false, dt, ) } else { - player.update(&walkable, Vec2::ZERO, dt) + player.update(&walkable, Vec2::ZERO, false, dt) } } pub fn is_done(&self) -> bool { |