aboutsummaryrefslogtreecommitdiff
path: root/server/protocol/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-03-11 00:04:06 +0100
committermetamuffin <metamuffin@disroot.org>2026-03-11 00:04:06 +0100
commit185b08984ec63009b1be65959c903dc60ace5d9a (patch)
tree3375af48ce351c67e0227c22d35bfbee54d09792 /server/protocol/src/lib.rs
parent1383cf5dac9d1471034ec491e122dfef6cf9999c (diff)
downloadhurrycurry-185b08984ec63009b1be65959c903dc60ace5d9a.tar
hurrycurry-185b08984ec63009b1be65959c903dc60ace5d9a.tar.bz2
hurrycurry-185b08984ec63009b1be65959c903dc60ace5d9a.tar.zst
clippy
Diffstat (limited to 'server/protocol/src/lib.rs')
-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,