summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index caa465c..a3aa7be 100644 --- a/src/game.cpp +++ b/src/game.cpp
@@ -749,7 +749,9 @@ void Game::updatePlaying(size_t frameTime) {
749 { 749 {
750 case SDLK_ESCAPE: 750 case SDLK_ESCAPE:
751 { 751 {
752 if (losing != LoseState::None) 752 if (losing == LoseState::NewGame) {
753 // Do nothing.
754 } else if (losing != LoseState::None)
753 { 755 {
754 if (quitting) { 756 if (quitting) {
755 quit = true; 757 quit = true;