Don't allow Escape to be pressed on mission complete / failed screens.

This commit is contained in:
Steve 2016-08-29 12:50:57 +01:00
parent 2882adec82
commit 4c97136aa9
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ static void drawMenu(void)
static void handleKeyboard(void)
{
if (app.keyboard[SDL_SCANCODE_ESCAPE] && !app.awaitingWidgetInput)
if (app.keyboard[SDL_SCANCODE_ESCAPE] && !app.awaitingWidgetInput && battle.status == MS_IN_PROGRESS)
{
switch (show)
{