Skip to content

Commit

Permalink
minor formatting to pass ci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
TirushOne committed Jan 9, 2024
1 parent 30cf834 commit 066d1a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/bevy_hierarchy/src/child_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,8 @@ impl Command for PopChild {
.map(|children| children.last().copied())
};

if let Some(child_id) = last_child_id {
if let Some(child_id) = child_id {
remove_children(self.parent, &[child_id], world);
}
if let Some(Some(child_id)) = last_child_id {
remove_children(self.parent, &[child_id], world);
}
}
}
Expand Down

0 comments on commit 066d1a7

Please sign in to comment.