]> git.lizzy.rs Git - mt_net.git/commitdiff
Fix ToCltPkt repr
authorLizzy Fleckenstein <eliasfleckenstein@web.de>
Sun, 12 Feb 2023 18:46:12 +0000 (19:46 +0100)
committerLizzy Fleckenstein <eliasfleckenstein@web.de>
Sun, 12 Feb 2023 18:46:12 +0000 (19:46 +0100)
src/to_clt.rs

index fff0ff738cf4ccdb737b2c461759ccf6c54c10d7..33b9c79270b8fc88cc6980993a9aa4faab11670b 100644 (file)
@@ -30,7 +30,7 @@ pub use hud::*;
 pub use media::*;
 pub use status::*;
 
-#[mt_derive(to = "clt", repr = "u8", tag = "type", content = "data")]
+#[mt_derive(to = "clt", repr = "u16", tag = "type", content = "data")]
 pub enum ToCltPkt {
     Hello {
         serialize_version: u8,