Fix comment in example (#15096)

Commit 65252bb87 (Consistently use `PI` to specify angles in examples.
(#5825)) changed from using push_children to add_child without adjusting
the comment

# Objective

- Fix the comments to align with the code

Co-authored-by: Alexander Stein <alexander.stein@mailbox.org>
This commit is contained in:
Alexander Stein 2024-09-08 18:59:37 +02:00 committed by GitHub
parent 5cfcbf47ed
commit bbecc05da9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
// 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 {