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