diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-08-13 14:50:10 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-08-13 16:03:38 +0200 | 
| commit | 0f94e292bde8b9614aa48a6ba87f1a8d927b8133 (patch) | |
| tree | fd8bb8c3d38c4b668c46b3b8d8a2b40e99ce2b97 /pixel-client | |
| parent | a8376aab4159a449a205de3ed7fdcaa5f6ca6369 (diff) | |
| download | hurrycurry-0f94e292bde8b9614aa48a6ba87f1a8d927b8133.tar hurrycurry-0f94e292bde8b9614aa48a6ba87f1a8d927b8133.tar.bz2 hurrycurry-0f94e292bde8b9614aa48a6ba87f1a8d927b8133.tar.zst | |
replace customers with bots and refactor some more server code.
Diffstat (limited to 'pixel-client')
| -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, | 
