1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-24 02:44:17 +00:00

Fix frame advantage double-counting (#672)

This commit is contained in:
jugeeya 2024-03-08 20:21:06 -08:00 committed by GitHub
parent afecfcc48c
commit 1148cd7ec6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,9 +125,6 @@ fn once_per_frame_per_fighter(module_accessor: &mut BattleObjectModuleAccessor,
}
unsafe {
input_record::handle_recording();
frame_counter::tick_ingame();
tech::hide_tech();
if menu::menu_condition() {
menu::spawn_menu();
}
@ -139,6 +136,9 @@ fn once_per_frame_per_fighter(module_accessor: &mut BattleObjectModuleAccessor,
!(MENU.stale_dodges.as_bool()),
*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);