aboutsummaryrefslogtreecommitdiffstats
path: root/src/pausescreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pausescreen.cpp')
-rw-r--r--src/pausescreen.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pausescreen.cpp b/src/pausescreen.cpp
index 399bf54..9077de4 100644
--- a/src/pausescreen.cpp
+++ b/src/pausescreen.cpp
@@ -9,7 +9,7 @@ static const std::string selectionText[selectionCount] =
{
"Resume ",
"Settings",
- "Abort "
+ "Quit "
};
static void
@@ -103,6 +103,9 @@ PauseScreen::parseSelection()
return;
}
if(m_selection == 2){
- Game::stop();
+ Game::popAll();
+ Game::pushScreen("title");
+ Boxii::damage(0, 0, Boxii::getTerminalWidth(), Boxii::getTerminalHeight());
+ return;
}
}