summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-06-14 12:40:55 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-06-14 12:40:55 +0200
commitc90bc73ff5cd413302d242c22540b29d0eedf0f8 (patch)
treedb546d0ec36fc9dc588339f97033fdb987d3aa8e
parentbe84d27784f0d9c3c814c023e2e8d1b8e64a53ab (diff)
Set dialog to false when cancelling console with escape.
-rw-r--r--scene.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene.cpp b/scene.cpp
index 0f68011..e981d8b 100644
--- a/scene.cpp
+++ b/scene.cpp
@@ -174,6 +174,7 @@ void Scene::events() {
tool = NULL;
} else if(console->showing()) {
console->hide();
+ dialog = false;
} else
running = false;
break;