1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-16 11:26:11 +00:00

Fix shieldgrabs (#341)

This commit is contained in:
asimon-1 2022-05-07 13:59:28 -04:00 committed by GitHub
parent e5d614100f
commit adef866456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -152,7 +152,7 @@ fn should_buffer(module_accessor: &mut app::BattleObjectModuleAccessor) -> bool
}
// Temp Translation
pub fn buffer_menu_mash() -> Action {
pub fn buffer_menu_mash() {
unsafe {
let action = MENU.mash_state.get_random();
buffer_action(action);
@ -160,8 +160,6 @@ pub fn buffer_menu_mash() -> Action {
full_hop::roll_full_hop();
fast_fall::roll_fast_fall();
FALLING_AERIAL = MENU.falling_aerials.get_random().into_bool();
action
}
}

View file

@ -218,7 +218,8 @@ unsafe fn mod_handle_sub_guard_cont(fighter: &mut L2CFighterCommon) {
return;
}
let action = mash::buffer_menu_mash();
mash::buffer_menu_mash();
let action = mash::get_current_buffer();
if handle_escape_option(fighter, module_accessor) {
return;