summaryrefslogtreecommitdiff
path: root/server/protocol/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-12-23 16:41:57 +0100
committermetamuffin <metamuffin@disroot.org>2024-12-23 16:41:57 +0100
commitcec07a36025d12a0344f19d1ca4c8e51f007b796 (patch)
tree1d96b7018b88157a16ea80623a7eaf62e43b35ec /server/protocol/src
parent1a9f7e9a20bff0fbc854454f131d4bc546e73e72 (diff)
downloadhurrycurry-cec07a36025d12a0344f19d1ca4c8e51f007b796.tar
hurrycurry-cec07a36025d12a0344f19d1ca4c8e51f007b796.tar.bz2
hurrycurry-cec07a36025d12a0344f19d1ca4c8e51f007b796.tar.zst
two-handed mostly works
Diffstat (limited to 'server/protocol/src')
-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,