Highlight OK button by default when pausing.

This commit is contained in:
Steve 2016-04-16 11:07:26 +01:00
parent 38eca9480d
commit 82acb9f96a
1 changed files with 2 additions and 0 deletions

View File

@ -288,6 +288,8 @@ static void handleKeyboard(void)
if (battle.status == MS_IN_PROGRESS && app.keyboard[SDL_SCANCODE_TAB]) if (battle.status == MS_IN_PROGRESS && app.keyboard[SDL_SCANCODE_TAB])
{ {
battle.status = MS_PAUSED; battle.status = MS_PAUSED;
selectWidget("ok", "startBattle");
} }
} }