Skip to content

Commit

Permalink
Merge pull request #73 from UkoeHB/missing_default
Browse files Browse the repository at this point in the history
Add Default to Replication component
  • Loading branch information
UkoeHB authored Oct 3, 2023
2 parents f89c79f + 49038b6 commit a728047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replicon_core/replication_rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ pub(crate) struct ReplicationInfo {
}

/// Marks entity for replication.
#[derive(Component, Clone, Copy)]
#[derive(Component, Clone, Copy, Default)]
pub struct Replication;

/// Replication will be ignored for `T` if this component is present on the same entity.
Expand Down

0 comments on commit a728047

Please sign in to comment.