From 70a6107085d921a3020d2037a09abdaa40970722 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 23 Jun 2024 14:21:25 +0200 Subject: cant move too quickly --- server/src/customer/movement.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'server/src/customer') diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs index 6a70a44f..a4b039e2 100644 --- a/server/src/customer/movement.rs +++ b/server/src/customer/movement.rs @@ -4,6 +4,7 @@ use std::collections::HashSet; const PLAYER_SIZE: f32 = 0.4; const PLAYER_SPEED: f32 = 25.; +pub const PLAYER_SPEED_LIMIT: f32 = 8.; pub struct MovementBase { pub position: Vec2, -- cgit v1.3