1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-30 22:00:16 +00:00

Formatting

This commit is contained in:
jugeeya 2023-08-07 20:09:49 -07:00 committed by GitHub
parent 356ffb0e1e
commit 43ebbabe5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -185,8 +185,7 @@ pub unsafe fn get_command_flag_cat(module_accessor: &mut BattleObjectModuleAcces
button_config::ButtonCombo::InputPlayback, button_config::ButtonCombo::InputPlayback,
) { ) {
playback(MENU.playback_button_combination.get_random().into_idx()); playback(MENU.playback_button_combination.get_random().into_idx());
} } else if MENU.record_trigger == OnOff::On
else if MENU.record_trigger == OnOff::On
&& button_config::combo_passes_exclusive( && button_config::combo_passes_exclusive(
module_accessor, module_accessor,
button_config::ButtonCombo::InputRecord, button_config::ButtonCombo::InputRecord,

View file

@ -607,7 +607,6 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
if prev_status_kind == FIGHTER_STATUS_KIND_REBIRTH && fighter_is_popo { if prev_status_kind == FIGHTER_STATUS_KIND_REBIRTH && fighter_is_popo {
save_state.state = NanaPosMove; save_state.state = NanaPosMove;
} }
// otherwise, begin input recording playback if selected // otherwise, begin input recording playback if selected
else if !MENU.save_state_playback.is_empty() { else if !MENU.save_state_playback.is_empty() {
input_record::playback(MENU.save_state_playback.get_random().into_idx()); input_record::playback(MENU.save_state_playback.get_random().into_idx());