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:
parent
de1e2a6d28
commit
9ef661a00b
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue