aboutsummaryrefslogtreecommitdiff
path: root/server/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'server/protocol')
-rw-r--r--server/protocol/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs
index f90dd351..a276a29a 100644
--- a/server/protocol/src/lib.rs
+++ b/server/protocol/src/lib.rs
@@ -221,8 +221,8 @@ pub enum PacketC {
Joined {
id: PlayerID,
},
- ServerData(Serverdata),
- GameData(Gamedata),
+ ServerData(Box<Serverdata>),
+ GameData(Box<Gamedata>),
AddPlayer {
id: PlayerID,
position: Vec2,