diff --git a/src/map.rs b/src/map.rs index 0aa2ebe..7b84f74 100644 --- a/src/map.rs +++ b/src/map.rs @@ -134,9 +134,6 @@ pub struct MapBundle { pub spawn_colliders: SpawnColliders, pub spawn_collider_per_tile: SpawnColliderPerTile, pub spawn_portals: SpawnPortals, - pub children: Children, - pub transform: Transform, - pub global_transform: GlobalTransform, } pub struct GridBuilder { @@ -419,7 +416,7 @@ fn spawn_portals( fn spawn_portal_colliders( mut commands: Commands, map: Query<(Entity, &SpawnColliders), With>>, - portals: Query<(Entity, &Transform), Without>, + portals: Query<(Entity, &Transform), (With, Without)>, ) { for (map_entity, spawn_colliders) in map.iter() { if **spawn_colliders {