aboutsummaryrefslogtreecommitdiff
path: root/server/protocol
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-12-23 16:41:57 +0100
committermetamuffin <metamuffin@disroot.org>2024-12-25 20:01:20 +0100
commit469d554381597a383aa799b29261786de19fb08e (patch)
tree229303a223d786f4f725b2f41e79b59d9e3a2e13 /server/protocol
parentb0df9b7c27a3d6316969d7feff4d912c3abf99f6 (diff)
downloadhurrycurry-469d554381597a383aa799b29261786de19fb08e.tar
hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar.bz2
hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar.zst
two-handed mostly works
Diffstat (limited to 'server/protocol')
-rw-r--r--server/protocol/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs
index 6ccd2367..5c7ddeb5 100644
--- a/server/protocol/src/lib.rs
+++ b/server/protocol/src/lib.rs
@@ -72,6 +72,7 @@ pub struct RecipeIndex(pub usize);
pub struct DemandIndex(pub usize);
#[derive(Debug, Clone, Copy, Serialize, Deserialize, Encode, Decode, PartialEq, Eq, Hash)]
+#[serde(rename_all = "snake_case")]
pub enum Hand {
Left,
Right,