From d7b9564e17382454183a1202b8b8e3054e505caf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 18 Dec 2018 20:44:32 +0000 Subject: Show lounge after confession of nothing listed --- scripts/toy.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') 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; } -- cgit v1.2.3