diff options
Diffstat (limited to 'ecs/src/phase.rs')
-rw-r--r-- | ecs/src/phase.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/phase.rs b/ecs/src/phase.rs index c13c432..9e3be24 100644 --- a/ecs/src/phase.rs +++ b/ecs/src/phase.rs @@ -8,7 +8,7 @@ pub struct Phase; declare_entity!(pub START, (Phase,)); declare_entity!(pub PRE_UPDATE, (Phase,)); -declare_entity!(pub UPDATE, (Phase, Pair::new::<ChildOf>(*PRE_UPDATE))); +declare_entity!(pub UPDATE, (Phase, Pair::builder().relation::<ChildOf>().target_id(*PRE_UPDATE).build())); #[doc(hidden)] pub(crate) fn spawn_entities(world: &mut World) |