summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-12-24 17:06:13 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-12-24 17:06:13 +0000
commit386fd48e8465213d9a9a0a122ba59ee825b272d4 (patch)
tree478c1666b4a618ea02acfc12042435629ea21351
parentFunctions for getting/setting away status (diff)
downloadtoy-386fd48e8465213d9a9a0a122ba59ee825b272d4.zip
Ensure play cannot occur when owner is away
-rw-r--r--scripts/toy.groovy2
1 files changed, 1 insertions, 1 deletions
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()) {