Don't allow Escape to be pressed on mission complete / failed screens.
This commit is contained in:
parent
2882adec82
commit
4c97136aa9
|
@ -292,7 +292,7 @@ static void drawMenu(void)
|
||||||
|
|
||||||
static void handleKeyboard(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)
|
switch (show)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue