From 0f94e292bde8b9614aa48a6ba87f1a8d927b8133 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 13 Aug 2024 14:50:10 +0200 Subject: replace customers with bots and refactor some more server code. --- pixel-client/src/game.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pixel-client/src') 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, -- cgit v1.2.3-70-g09d2