From ee02978d604a84d0ca9486a8a5b0474adf779542 Mon Sep 17 00:00:00 2001 From: jugeeya Date: Fri, 1 Sep 2023 10:47:00 -0700 Subject: [PATCH] Formatting --- src/common/button_config.rs | 1 - src/training/save_states.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/button_config.rs b/src/common/button_config.rs index 790d38b..b40e603 100644 --- a/src/common/button_config.rs +++ b/src/common/button_config.rs @@ -7,7 +7,6 @@ use crate::training::ui::menu::VANILLA_MENU_ACTIVE; use lazy_static::lazy_static; use parking_lot::Mutex; -use strum::IntoEnumIterator; use strum_macros::EnumIter; use super::menu::QUICK_MENU_ACTIVE; diff --git a/src/training/save_states.rs b/src/training/save_states.rs index eb3adee..4eb46d1 100644 --- a/src/training/save_states.rs +++ b/src/training/save_states.rs @@ -413,8 +413,7 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor) && is_dead(module_accessor); let mut triggered_reset: bool = false; if !is_operation_cpu(module_accessor) && !fighter_is_nana { - triggered_reset = - button_config::combo_passes(button_config::ButtonCombo::LoadState); + triggered_reset = button_config::combo_passes(button_config::ButtonCombo::LoadState); } if (autoload_reset || triggered_reset) && !fighter_is_nana { if save_state.state == NoAction {