Rename AreaTag to Area.
This commit is contained in:
parent
fedd8b69e0
commit
9a2495d9de
|
@ -24,7 +24,7 @@ impl From<mapgen::geometry::Point> for Coordinates {
|
|||
|
||||
#[derive(Clone, Debug, Default, Reflect)]
|
||||
#[reflect(Component)]
|
||||
pub struct AreaTag;
|
||||
pub struct Area;
|
||||
|
||||
#[derive(Clone, Debug, Default, Reflect)]
|
||||
#[reflect(Component)]
|
||||
|
@ -347,7 +347,7 @@ fn spawn_colliders(
|
|||
pos_wrt_parent: position,
|
||||
})
|
||||
.insert(shape.compute_aabb(&position))
|
||||
.insert(AreaTag);
|
||||
.insert(Area);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -437,7 +437,7 @@ fn spawn_portal_colliders(
|
|||
|
||||
fn area_description(
|
||||
mut events: EventReader<IntersectionEvent>,
|
||||
areas: Query<&AreaTag>,
|
||||
areas: Query<&Area>,
|
||||
players: Query<&Player>,
|
||||
names: Query<&Name>,
|
||||
config: Res<MapConfig>,
|
||||
|
|
Loading…
Reference in New Issue
Block a user