aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/player.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/player.rs')
-rw-r--r--src/shared/player.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/player.rs b/src/shared/player.rs
index d166a7d..606a3b2 100644
--- a/src/shared/player.rs
+++ b/src/shared/player.rs
@@ -58,7 +58,7 @@ impl PlayerBundle {
}
}
-#[derive(Component, Message, Serialize, Deserialize, Clone, Copy, Debug, PartialEq)]
+#[derive(Component, Message, Serialize, Deserialize, Clone, Copy, Debug, PartialEq, Eq)]
pub struct PlayerId(pub ClientId);
#[derive(Component, Message, Serialize, Deserialize, Clone, Copy, Debug, PartialEq)]
@@ -67,5 +67,5 @@ pub struct PlayerPosition(pub Vec2);
#[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)]
pub struct PlayerColor(pub Color);
-#[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq, Default)]
+#[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq, Eq, Default)]
pub struct Player;