From f0089fe3d20eafc365be23976a90f5d8cec2ea5b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 12 Dec 2018 16:55:27 +0000 Subject: Return after redress summon failure --- scripts/toy.groovy | 1 + 1 file changed, 1 insertion(+) 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,"], -- cgit v1.2.3