summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 80b0c47..c7b9bba 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1246,7 +1246,10 @@ def confess = {
opts.push([ lbl: "Nothing listed (phew!)", act: null ]);
def opt = getSelectedValue(null, opts.collect { it.lbl });
def act = opts[opt].act;
- if (!act) return;
+ if (!act) {
+ showLounge();
+ return;
+ }
act();
if (!getBoolean("Anything else?")) break;
}