From d720dabb780ba3c73a4656d8dc8fede721d6841d Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 20 Jul 2024 16:56:00 +0200 Subject: correctly send lobby bool and send map name --- server/protocol/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/protocol/src/lib.rs') diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index d9e8f11e..4ba0f615 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, 0); +pub const VERSION: (u32, u32) = (2, 1); pub const BINCODE_CONFIG: Configuration> = standard().with_limit(); @@ -72,6 +72,7 @@ pub struct MapMetadata { #[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode, Default)] #[rustfmt::skip] pub struct ClientGamedata { + pub current_map: String, pub item_names: Vec, pub tile_names: Vec, pub tile_collide: Vec, -- cgit v1.2.3-70-g09d2