Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kul-sudo committed Aug 11, 2024
1 parent efd57c7 commit b924e82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,10 @@ impl Body {
body_id: &BodyId,
followed_by: &HashMap<BodyId, Self>,
) -> bool {
if self.skills.contains(&Skill::DoNotCompeteWithYoungerRelatives) {
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 b924e82

Please sign in to comment.