Highlight OK button by default when pausing.
This commit is contained in:
parent
38eca9480d
commit
82acb9f96a
|
@ -288,6 +288,8 @@ static void handleKeyboard(void)
|
|||
if (battle.status == MS_IN_PROGRESS && app.keyboard[SDL_SCANCODE_TAB])
|
||||
{
|
||||
battle.status = MS_PAUSED;
|
||||
|
||||
selectWidget("ok", "startBattle");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue