summaryrefslogtreecommitdiff
path: root/server/protocol/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-13 14:50:10 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-13 16:03:38 +0200
commit0f94e292bde8b9614aa48a6ba87f1a8d927b8133 (patch)
treefd8bb8c3d38c4b668c46b3b8d8a2b40e99ce2b97 /server/protocol/src
parenta8376aab4159a449a205de3ed7fdcaa5f6ca6369 (diff)
downloadhurrycurry-0f94e292bde8b9614aa48a6ba87f1a8d927b8133.tar
hurrycurry-0f94e292bde8b9614aa48a6ba87f1a8d927b8133.tar.bz2
hurrycurry-0f94e292bde8b9614aa48a6ba87f1a8d927b8133.tar.zst
replace customers with bots and refactor some more server code.
Diffstat (limited to 'server/protocol/src')
-rw-r--r--server/protocol/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs
index 05561a12..695d45cf 100644
--- a/server/protocol/src/lib.rs
+++ b/server/protocol/src/lib.rs
@@ -87,6 +87,8 @@ pub enum PacketS {
Join {
name: String,
character: i32,
+ #[serde(skip)]
+ id: Option<PlayerID>, // used entity bots that cant receive a response
},
Leave {
player: PlayerID,