summaryrefslogtreecommitdiff
path: root/server/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'server/protocol')
-rw-r--r--server/protocol/src/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs
index 36a496a0..9c8d6bee 100644
--- a/server/protocol/src/lib.rs
+++ b/server/protocol/src/lib.rs
@@ -62,8 +62,7 @@ pub enum PacketS {
boosting: bool,
},
Interact {
- pos: IVec2,
- edge: bool,
+ pos: Option<IVec2>,
},
Collide {
player: PlayerID,
@@ -165,7 +164,7 @@ pub enum PacketC {
ReplayStart,
}
-#[derive(Debug, Clone, Serialize, Deserialize, Copy)]
+#[derive(Debug, Clone, Serialize, Deserialize, Copy, PartialEq, Eq, Hash)]
#[serde(rename_all = "snake_case")]
pub enum ItemLocation {
Tile(IVec2),