Fix pressing key buttons (like T) leaking through in listscreen to screens underneath

i.e. you could press T while in change texture pack and that would open chat, even though it shouldn't
This commit is contained in:
UnknownShadow200 2019-08-29 19:36:57 +10:00
parent d82b40bb0b
commit b719422ffc

View file

@ -357,8 +357,6 @@ static bool ListScreen_KeyDown(void* screen, Key key) {
ListScreen_PageClick(s, false);
} else if (key == KEY_RIGHT || key == KEY_PAGEDOWN) {
ListScreen_PageClick(s, true);
} else {
return false;
}
return true;
}