From f0786ac24b395ed6031bcc75ea50917a4a08643f Mon Sep 17 00:00:00 2001 From: Niklas Eicker Date: Sat, 15 Jan 2022 22:51:00 +0100 Subject: [PATCH] Bump version to 1.6 and fix clippy issues --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/bullets.rs | 11 ++++------- src/enemies.rs | 2 +- src/loading.rs | 16 ++++++++-------- src/menu.rs | 6 +++--- src/towers.rs | 6 +++--- src/ui.rs | 6 +++--- 8 files changed, 24 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 645d5f6..f5c7179 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2357,7 +2357,7 @@ dependencies = [ [[package]] name = "oicana" -version = "1.5.0" +version = "1.6.0" dependencies = [ "bevy", "bevy_asset_loader", diff --git a/Cargo.toml b/Cargo.toml index c877aec..e238126 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "oicana" description = "A tower-defense game with some puzzle aspects" -version = "1.5.0" +version = "1.6.0" authors = ["Niklas Eicker "] edition = "2021" publish = false diff --git a/src/bullets.rs b/src/bullets.rs index d0a0846..6d66905 100644 --- a/src/bullets.rs +++ b/src/bullets.rs @@ -24,11 +24,8 @@ pub struct Bullet { fn update_bullets( mut commands: Commands, - mut bullet_query: Query<(Entity, &Bullet, &mut Transform)>, - mut enemy_query: Query< - (&Transform, &mut Health, &mut Enemy), - (Without, Without), - >, + mut bullet_query: Query<(Entity, &Bullet, &mut Transform), Without>, + mut enemy_query: Query<(&Transform, &mut Health, &mut Enemy), Without>, time: Res