diff options
Diffstat (limited to 'pixel-client/src')
-rw-r--r-- | pixel-client/src/game.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pixel-client/src/game.rs b/pixel-client/src/game.rs index dca84d77..eab45478 100644 --- a/pixel-client/src/game.rs +++ b/pixel-client/src/game.rs @@ -81,12 +81,11 @@ pub struct Item { impl Game { pub fn new(mut network: Network, layout: &AtlasLayout) -> Self { - network - .queue_out - .push_back(hurrycurry_protocol::PacketS::Join { - name: "pixel".to_string(), - character: 0, - }); + network.queue_out.push_back(PacketS::Join { + id: None, + name: "pixel".to_string(), + character: 0, + }); Self { network, |