diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9c8b6f4e..d8818136 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -644,7 +644,9 @@ int main(int argc, char *argv[]) case SDL_KEYDOWN: if (event.key.keysym.sym == SDLK_ESCAPE) + { state = EXIT_STATE; + } break; } |