diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-18 13:31:59 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:21:22 +0200 |
commit | 7954d6dfc42e14ecdaebbe14191c22b071819444 (patch) | |
tree | 4e4621a00cb4a377624d5aa8a2b1dac423564ed5 /server/src/protocol.rs | |
parent | 3d870a714348defc40cd519c00b43c87b1be6480 (diff) | |
download | hurrycurry-7954d6dfc42e14ecdaebbe14191c22b071819444.tar hurrycurry-7954d6dfc42e14ecdaebbe14191c22b071819444.tar.bz2 hurrycurry-7954d6dfc42e14ecdaebbe14191c22b071819444.tar.zst |
rename joined to init
Diffstat (limited to 'server/src/protocol.rs')
-rw-r--r-- | server/src/protocol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/protocol.rs b/server/src/protocol.rs index 3a40059a..9e6717a3 100644 --- a/server/src/protocol.rs +++ b/server/src/protocol.rs @@ -20,7 +20,7 @@ pub enum PacketS { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "snake_case", tag = "type")] pub enum PacketC { - Joined { + Init { data: Gamedata, id: PlayerID, }, |