Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Jul 7, 2024
1 parent ee0a952 commit 2b11ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn get_player_position(app: &mut App) -> Vec3 {
// else this assert goes off.
assert_eq!(count_n_players(app), 1);
let mut query = app.world_mut().query::<(&Transform, &Player)>();
let (transform, _) = query.single(&app.world());
let (transform, _) = query.single(app.world());
transform.translation
}

Expand Down

0 comments on commit 2b11ec2

Please sign in to comment.