This commit is contained in:
parent
ad31b1220c
commit
1e9860e3a1
|
@ -307,8 +307,7 @@ fn spawn_portal_colliders<D: 'static + Clone + Default + Send + Sync>(
|
|||
for portal_entity in portals.iter() {
|
||||
commands
|
||||
.entity(portal_entity)
|
||||
.insert(Collider::cuboid(0.5, 0.5))
|
||||
.insert(Sensor);
|
||||
.insert((Collider::cuboid(0.5, 0.5), Sensor));
|
||||
}
|
||||
commands.entity(entity).remove::<SpawnColliders>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user