From ea75c041db06d04d7b47ef2396dec93de0f760b9 Mon Sep 17 00:00:00 2001 From: "Ryan Scheel (isHavvy)" Date: Sat, 10 Jul 2021 22:00:58 -0700 Subject: [PATCH] Make Remove Command's fields public An oversight on #2034 --- crates/bevy_ecs/src/system/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ecs/src/system/commands.rs b/crates/bevy_ecs/src/system/commands.rs index 90adfb8dc510c..74b69bd2fbd28 100644 --- a/crates/bevy_ecs/src/system/commands.rs +++ b/crates/bevy_ecs/src/system/commands.rs @@ -359,8 +359,8 @@ where #[derive(Debug)] pub struct Remove { - entity: Entity, - phantom: PhantomData, + pub entity: Entity, + pub phantom: PhantomData, } impl Command for Remove