aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-15 03:45:56 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-15 03:45:56 +0100
commit008477de8b99a16d929912bde73e775a075155ef (patch)
treeeb416eda885c1c188dbc4f96e88cb9871b7de819 /src/shared.rs
parent20fd6cec7ea518a98a4f74f746293eb77c170267 (diff)
feat: hover indicator
Diffstat (limited to 'src/shared.rs')
-rw-r--r--src/shared.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared.rs b/src/shared.rs
index 146e343..4db5224 100644
--- a/src/shared.rs
+++ b/src/shared.rs
@@ -31,7 +31,7 @@ pub struct PlayerBundle {
#[derive(Component, Message, Serialize, Deserialize, Clone, Copy, Debug, PartialEq)]
pub struct PlayerId(pub ClientId);
-#[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)]
+#[derive(Component, Message, Serialize, Deserialize, Clone, Copy, Debug, PartialEq)]
pub struct PlayerPosition(pub Vec2);
#[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)]