diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-03-11 22:16:32 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-03-11 22:16:42 +0100 |
| commit | 6c27e7dcf3baf89aa3146635f71de8980db94b43 (patch) | |
| tree | a7280ef3d075f6cfe66827353ddab58336a1940d /server/protocol | |
| parent | 0533310feadd076be01e4b1747ab4a7e53fccce8 (diff) | |
| download | hurrycurry-6c27e7dcf3baf89aa3146635f71de8980db94b43.tar hurrycurry-6c27e7dcf3baf89aa3146635f71de8980db94b43.tar.bz2 hurrycurry-6c27e7dcf3baf89aa3146635f71de8980db94b43.tar.zst | |
clean up player join code
Diffstat (limited to 'server/protocol')
| -rw-r--r-- | server/protocol/src/movement.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/protocol/src/movement.rs b/server/protocol/src/movement.rs index 062c250d..521de924 100644 --- a/server/protocol/src/movement.rs +++ b/server/protocol/src/movement.rs @@ -28,6 +28,7 @@ const BOOST_FACTOR: f32 = 2.5; const BOOST_DURATION: f32 = 0.3; const BOOST_RESTORE: f32 = 0.5; +#[derive(Debug, Clone)] pub struct MovementBase { pub input_direction: Vec2, pub input_boost: bool, |