aboutsummaryrefslogtreecommitdiff
path: root/src/game/protocol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/protocol.rs')
-rw-r--r--src/game/protocol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/protocol.rs b/src/game/protocol.rs
index abb246f..5c14b6e 100644
--- a/src/game/protocol.rs
+++ b/src/game/protocol.rs
@@ -98,6 +98,7 @@ impl Packet {
id: toks.next().ok_or(anyhow!("id missing"))?.parse()?,
message: toks.next().ok_or(anyhow!("message missing"))?.to_string(),
},
+ "chat" => Packet::Chat(toks.next().ok_or(anyhow!("message missing"))?.to_string()),
"win" => Packet::Win(
toks.next().ok_or(anyhow!("something missing"))?.parse()?,
toks.next().ok_or(anyhow!("something missing"))?.parse()?,