diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-20 17:31:56 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-20 17:32:25 +0200 |
commit | 89ba8a6b62b90ac72547e2ca9ea5eeae7bbc6500 (patch) | |
tree | 3c55c94857e42353376c8377d3fe2632e757cb0d /server/protocol | |
parent | 8290f420bee04702751ae6e4453c8b140e227e19 (diff) | |
download | hurrycurry-89ba8a6b62b90ac72547e2ca9ea5eeae7bbc6500.tar hurrycurry-89ba8a6b62b90ac72547e2ca9ea5eeae7bbc6500.tar.bz2 hurrycurry-89ba8a6b62b90ac72547e2ca9ea5eeae7bbc6500.tar.zst |
syncronize player movement if the diverge
Diffstat (limited to 'server/protocol')
-rw-r--r-- | server/protocol/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 4ba0f615..cf422761 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -30,7 +30,7 @@ pub use glam; pub mod movement; -pub const VERSION: (u32, u32) = (2, 1); +pub const VERSION: (u32, u32) = (2, 2); pub const BINCODE_CONFIG: Configuration<LittleEndian, Varint, Limit<4096>> = standard().with_limit(); @@ -206,6 +206,7 @@ pub enum PacketC { Error { message: String, }, + MovementSync, /// For use in replay sessions only ReplayStart, |