Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kul-sudo committed Aug 10, 2024
1 parent fa9ebe1 commit efd57c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ impl Body {
body_id: &BodyId,
followed_by: &HashMap<BodyId, Self>,
) -> bool {
if self.skills.contains(&Skill::DoNotCompeteWithRelatives) {
if self.skills.contains(&Skill::DoNotCompeteWithYoungerRelatives) {
followed_by.iter().all(|(other_body_id, other_body)| {
other_body_id == body_id
|| if other_body.body_type == self.body_type {
Expand Down

0 comments on commit efd57c7

Please sign in to comment.