aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-09-08 08:41:53 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-09-08 08:41:53 -0400
commitf7ec6aff4a7312586e986c891f370c442a6ae093 (patch)
tree2d9ebe26b37e49d526188f8d0b02af41de339c91
parent35fbb7daa975d643ba98a32c5466a9dc93864527 (diff)
brought back click-to-complete dialog
-rw-r--r--src/ui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 78baa68..e8fd78a 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -877,6 +877,11 @@ std::string UISystem::getDialogResult(void)
void UISystem::advanceDialog(void)
{
+ if (!typeOutDone) {
+ typeOutDone = true;
+ return;
+ }
+
dialogText.clear();
importantText.clear();