Skip to content

Commit

Permalink
Derive Copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jondolf committed Jul 21, 2024
1 parent 3d14581 commit e572188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync/ancestor_marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl<C: Component> Plugin for AncestorMarkerPlugin<C> {
/// A marker component that marks an entity as an ancestor of an entity with the given component `C`.
///
/// This is added and removed automatically by the [`AncestorMarkerPlugin`] if it is enabled.
#[derive(Component, Reflect)]
#[derive(Component, Copy, Reflect)]
#[reflect(Component, Default)]
pub struct AncestorMarker<C: Component> {
#[reflect(ignore)]
Expand Down

0 comments on commit e572188

Please sign in to comment.