mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Make Remove Command's fields public (#2449)
In #2034, the `Remove` Command did not get the same treatment as the rest of the commands. There's no discussion saying it shouldn't have public fields, so I am assuming it was an oversight. This fixes that oversight.
This commit is contained in:
parent
17bd3f954f
commit
b48ee02feb
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue