From be2d5d761bd648660ce6b28a5ddc4696a98f91c2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 20 Apr 2019 11:43:41 +0100 Subject: Remove redress event when leaving. --- scripts/toy.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 246dd63..11843fe 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -1757,6 +1757,8 @@ return new Object() { def toys = TOYTOYS.findAll { t -> is(t) }; Collections.shuffle(toys); toys.each { removeToy(it, [DRESSED,nTEASE]) }; + removeEvent(REDRESS); + set(NAKED, false); present([DRESSED,TEASE], [ [ "Back later!", "See you soon, toy" ]]); wait(5); -- cgit v1.2.3