diff --git a/examples/games/alien_cake_addict.rs b/examples/games/alien_cake_addict.rs index c0267af607..bc4f04bd1a 100644 --- a/examples/games/alien_cake_addict.rs +++ b/examples/games/alien_cake_addict.rs @@ -179,7 +179,7 @@ fn setup(mut commands: Commands, asset_server: Res, mut game: ResMu // remove all entities that are not a camera fn teardown(mut commands: Commands, entities: Query>) { for entity in &entities { - commands.entity(entity).despawn_recursive(); + commands.entity(entity).despawn(); } }