Order systems such that portal and collider-spawning are ordered.

This commit is contained in:
Nolan Darilek 2021-06-30 09:53:11 -05:00
parent 52ba77be46
commit 1da536d274

View File

@ -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() {