Remove legacy pad_buttons check.

BACK will already leave the dialog.
This commit is contained in:
Unknown W. Brackets 2017-03-13 22:50:28 -07:00
parent b0bd7e3c6f
commit 549169ad7f

View File

@ -553,9 +553,6 @@ UI::EventReturn CreditsScreen::OnOK(UI::EventParams &e) {
void CreditsScreen::update(InputState &input_state) {
UIScreen::update(input_state);
UpdateUIState(UISTATE_MENU);
if (input_state.pad_buttons_down & PAD_BUTTON_BACK) {
screenManager()->finishDialog(this, DR_OK);
}
frames_++;
}