mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-20 00:46:34 +00:00
Formatting
This commit is contained in:
parent
41d5e0650d
commit
ee02978d60
2 changed files with 1 additions and 3 deletions
|
@ -7,7 +7,6 @@ use crate::training::ui::menu::VANILLA_MENU_ACTIVE;
|
||||||
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use strum::IntoEnumIterator;
|
|
||||||
use strum_macros::EnumIter;
|
use strum_macros::EnumIter;
|
||||||
|
|
||||||
use super::menu::QUICK_MENU_ACTIVE;
|
use super::menu::QUICK_MENU_ACTIVE;
|
||||||
|
|
|
@ -413,8 +413,7 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
|
||||||
&& is_dead(module_accessor);
|
&& is_dead(module_accessor);
|
||||||
let mut triggered_reset: bool = false;
|
let mut triggered_reset: bool = false;
|
||||||
if !is_operation_cpu(module_accessor) && !fighter_is_nana {
|
if !is_operation_cpu(module_accessor) && !fighter_is_nana {
|
||||||
triggered_reset =
|
triggered_reset = button_config::combo_passes(button_config::ButtonCombo::LoadState);
|
||||||
button_config::combo_passes(button_config::ButtonCombo::LoadState);
|
|
||||||
}
|
}
|
||||||
if (autoload_reset || triggered_reset) && !fighter_is_nana {
|
if (autoload_reset || triggered_reset) && !fighter_is_nana {
|
||||||
if save_state.state == NoAction {
|
if save_state.state == NoAction {
|
||||||
|
|
Loading…
Reference in a new issue