Order systems such that portal and collider-spawning are ordered.
This commit is contained in:
parent
52ba77be46
commit
1da536d274
|
@ -226,7 +226,7 @@ fn add_map_colliders(mut commands: Commands, maps: Query<(Entity, &Map), Added<M
|
|||
|
||||
fn portal_spawner(
|
||||
mut commands: Commands,
|
||||
map: Query<(Entity, &Map), Added<Map>>,
|
||||
map: Query<(Entity, &Map), Added<RigidBodyColliders>>,
|
||||
config: Res<MapConfig>,
|
||||
) {
|
||||
for (entity, map) in map.iter() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user