summaryrefslogtreecommitdiff
path: root/server/protocol/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/protocol/src')
-rw-r--r--server/protocol/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs
index 4f0d5d67..db65ddd2 100644
--- a/server/protocol/src/lib.rs
+++ b/server/protocol/src/lib.rs
@@ -116,6 +116,9 @@ pub enum PacketS {
class: PlayerClass,
#[serde(skip)] // TODO fix bincode can still set id
id: Option<PlayerID>, // used entity bots that cant receive a response
+ #[serde(skip)] // TODO fix bincode aswell
+ #[bincode(with_serde)]
+ position: Option<Vec2>, // used entity bots that spawn in different locations
},
Leave {
player: PlayerID,