diff --git a/src/main.rs b/src/main.rs index 04dc200..9055db7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,6 +98,7 @@ struct Player { target_cons_name: Option, score: usize, health: usize, + thinking: bool, } #[derive(Clone, Copy, Default, Eq, PartialEq, Debug, Hash, States)] @@ -204,6 +205,7 @@ fn start_ui_setup(mut commands: Commands, _asset_server: Res) { target_cons_name: None, score: 0, health: 3, + thinking: true, }, GameOver, )); @@ -472,7 +474,12 @@ fn choose_constellation( mut button_query: Query<(&mut BackgroundColor, &mut BorderColor), With