1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 00:46:34 +00:00

FIX FOR MENU

This commit is contained in:
jugeeya 2023-08-24 13:58:12 -07:00
parent de1e2a6d28
commit 9ef661a00b

View file

@ -135,6 +135,7 @@ pub fn handle_final_input_mapping(
p1_controller.just_release = ButtonBitfield::default(); p1_controller.just_release = ButtonBitfield::default();
} else if visual_frame_count >= MENU_CLOSE_WAIT_FRAMES { } else if visual_frame_count >= MENU_CLOSE_WAIT_FRAMES {
frame_counter::stop_counting(*MENU_CLOSE_FRAME_COUNTER); frame_counter::stop_counting(*MENU_CLOSE_FRAME_COUNTER);
frame_counter::reset_frame_count(*MENU_CLOSE_FRAME_COUNTER);
} }
if QUICK_MENU_ACTIVE { if QUICK_MENU_ACTIVE {