menu: fix mashing resseting transition into level

This commit is contained in:
Lephenixnoir 2022-12-23 16:42:18 +01:00
parent 7ae7684100
commit cd3b187a55
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ int menu_level_select(int start)
target_x -= DWIDTH;
}
if(key == KEY_EXE || key == KEY_SHIFT) {
if((key == KEY_EXE || key == KEY_SHIFT) && transition_time == 0) {
transition_time = dt;
}
else if(transition_time > fix(0.0)) {