summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-12-12 16:55:27 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-12-12 16:55:27 +0000
commitf0089fe3d20eafc365be23976a90f5d8cec2ea5b (patch)
tree17638ea057484e1c6884041ecbd806c8e7cfd319
parentEnsure slow beat stopped (diff)
downloadtoy-f0089fe3d20eafc365be23976a90f5d8cec2ea5b.zip
Return after redress summon failure
-rw-r--r--scripts/toy.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index fe6c194..07145f2 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1120,6 +1120,7 @@ def bedtime = {
def redress = { rt ->
if (!rt || !sessionSummon([DRESSED])) {
addEvent(REDRESS, getTime() + 300, "redress");
+ return;
}
present([DRESSED], [
["OK, toy,"],