From 89ba8a6b62b90ac72547e2ca9ea5eeae7bbc6500 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 20 Jul 2024 17:31:56 +0200 Subject: syncronize player movement if the diverge --- server/protocol/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/protocol/src') 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> = standard().with_limit(); @@ -206,6 +206,7 @@ pub enum PacketC { Error { message: String, }, + MovementSync, /// For use in replay sessions only ReplayStart, -- cgit v1.2.3-70-g09d2