From 386fd48e8465213d9a9a0a122ba59ee825b272d4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 24 Dec 2018 17:06:13 +0000 Subject: Ensure play cannot occur when owner is away --- scripts/toy.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 8f3a10a..8c8a2de 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -1153,7 +1153,7 @@ def playSchedule = { lastPlay -> } }; def playEvent = { rt = true, first = true -> - if (!rt) return; + if (!rt || getAway()) return; dress([[DRESSED,nTEASE],[DRESSED,TEASE],[TITS],[STOOD]]); if (sessionSummon([DRESSED,nTEASE])) { if (first.asBoolean()) { -- cgit v1.2.3