aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/teenagent/teenagent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp
index 56e7462d19..68b1fca799 100644
--- a/engines/teenagent/teenagent.cpp
+++ b/engines/teenagent/teenagent.cpp
@@ -305,6 +305,8 @@ Common::Error TeenAgentEngine::run() {
event.kbd.ascii == '~' || event.kbd.ascii == '#') {
console->attach();
}
+ if (event.kbd.flags == 0 && event.kbd.keycode == Common::KEYCODE_F5)
+ openMainMenuDialog();
break;
case Common::EVENT_LBUTTONDOWN:
if (scene->getId() < 0)