From 0aa387552ff2072ab9a52e532ac8c449236d4196 Mon Sep 17 00:00:00 2001 From: jugeeya Date: Fri, 25 Sep 2020 21:04:34 -0700 Subject: [PATCH] input record typo --- src/training/input_record.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/training/input_record.rs b/src/training/input_record.rs index 62ed394..1c7c01b 100644 --- a/src/training/input_record.rs +++ b/src/training/input_record.rs @@ -38,7 +38,7 @@ pub unsafe fn get_command_flag_cat(module_accessor: &mut BattleObjectModuleAcces playback(); } // Attack + Dpad Left: Record - else if ControlModule::check_button_on(module_accessor, *CONTROL_PAD_BUTTON_CATCH) + else if ControlModule::check_button_on(module_accessor, *CONTROL_PAD_BUTTON_ATTACK) && ControlModule::check_button_trigger(module_accessor, *CONTROL_PAD_BUTTON_APPEAL_S_L) { record(); @@ -98,4 +98,4 @@ pub unsafe fn handle_get_npad_state( (*state).Flags = P1_NPAD_STATES[INPUT_RECORD_FRAME].Flags; } } -} \ No newline at end of file +}