diff --git a/src/map.rs b/src/map.rs index ff3fa07..e226580 100644 --- a/src/map.rs +++ b/src/map.rs @@ -22,9 +22,9 @@ impl From for Coordinates { #[derive(Clone, Debug, Default, Deref, DerefMut)] pub struct Areas(pub Vec); -#[derive(Clone, Debug, Default, Deref, DerefMut, Reflect)] +#[derive(Clone, Debug, Default, Reflect)] #[reflect(Component)] -pub struct Portal(Vec<(i32, i32)>); +pub struct Portal; #[derive(Clone, Default)] pub struct Map { @@ -218,18 +218,16 @@ fn add_map_colliders(mut commands: Commands, maps: Query<(Entity, &Map), Added