From eab460473db615ce2164821c535d7bc9c2fe3066 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Sun, 8 Sep 2024 16:48:21 +0200 Subject: [PATCH] Fix comment in example Commit 65252bb87 (Consistently use `PI` to specify angles in examples. (#5825)) changed from using push_children to add_child without adjusting the comment --- examples/ecs/hierarchy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ecs/hierarchy.rs b/examples/ecs/hierarchy.rs index b61f21f24ae94..2729b63b3eb88 100644 --- a/examples/ecs/hierarchy.rs +++ b/examples/ecs/hierarchy.rs @@ -40,7 +40,7 @@ fn setup(mut commands: Commands, asset_server: Res) { // Store parent entity for next sections .id(); - // Another way is to use the push_children function to add children after the parent + // Another way is to use the add_child function to add children after the parent // entity has already been spawned. let child = commands .spawn(SpriteBundle {