summaryrefslogtreecommitdiff
path: root/server/src/protocol.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-02 14:57:22 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-02 14:57:22 +0200
commitf15d6305a7f70e34ba1e5484d4f185d844cc3aaa (patch)
treedff0fd75749312084ab6210435af35132687bce6 /server/src/protocol.rs
parent9cffa5019b017045b7dbdf6577c89b70b8a11a50 (diff)
downloadhurrycurry-f15d6305a7f70e34ba1e5484d4f185d844cc3aaa.tar
hurrycurry-f15d6305a7f70e34ba1e5484d4f185d844cc3aaa.tar.bz2
hurrycurry-f15d6305a7f70e34ba1e5484d4f185d844cc3aaa.tar.zst
interaction between players
Diffstat (limited to 'server/src/protocol.rs')
-rw-r--r--server/src/protocol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/protocol.rs b/server/src/protocol.rs
index 54992feb..58182917 100644
--- a/server/src/protocol.rs
+++ b/server/src/protocol.rs
@@ -143,7 +143,7 @@ pub enum PacketC {
},
}
-#[derive(Debug, Clone, Serialize, Deserialize)]
+#[derive(Debug, Clone, Serialize, Deserialize, Copy)]
#[serde(rename_all = "snake_case")]
pub enum ItemLocation {
Tile(IVec2),