Skip to content

Commit

Permalink
Make Remove Command's fields public
Browse files Browse the repository at this point in the history
An oversight on #2034
  • Loading branch information
isHavvy committed Jul 11, 2021
1 parent 17bd3f9 commit ea75c04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/system/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ where

#[derive(Debug)]
pub struct Remove<T> {
entity: Entity,
phantom: PhantomData<T>,
pub entity: Entity,
pub phantom: PhantomData<T>,
}

impl<T> Command for Remove<T>
Expand Down

0 comments on commit ea75c04

Please sign in to comment.