mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-27 20:34:03 +00:00
Fix frame advantage double-counting (#672)
This commit is contained in:
parent
afecfcc48c
commit
1148cd7ec6
1 changed files with 3 additions and 3 deletions
|
@ -125,9 +125,6 @@ fn once_per_frame_per_fighter(module_accessor: &mut BattleObjectModuleAccessor,
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
input_record::handle_recording();
|
|
||||||
frame_counter::tick_ingame();
|
|
||||||
tech::hide_tech();
|
|
||||||
if menu::menu_condition() {
|
if menu::menu_condition() {
|
||||||
menu::spawn_menu();
|
menu::spawn_menu();
|
||||||
}
|
}
|
||||||
|
@ -139,6 +136,9 @@ fn once_per_frame_per_fighter(module_accessor: &mut BattleObjectModuleAccessor,
|
||||||
!(MENU.stale_dodges.as_bool()),
|
!(MENU.stale_dodges.as_bool()),
|
||||||
*FIGHTER_INSTANCE_WORK_ID_FLAG_DISABLE_ESCAPE_PENALTY,
|
*FIGHTER_INSTANCE_WORK_ID_FLAG_DISABLE_ESCAPE_PENALTY,
|
||||||
);
|
);
|
||||||
|
input_record::handle_recording();
|
||||||
|
frame_counter::tick_ingame();
|
||||||
|
tech::hide_tech();
|
||||||
}
|
}
|
||||||
|
|
||||||
combo::get_command_flag_cat(module_accessor);
|
combo::get_command_flag_cat(module_accessor);
|
||||||
|
|
Loading…
Reference in a new issue