summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-04-11 21:16:20 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-04-11 21:16:20 +0100
commiteeaf7566b91dd377b1e8b00233ce1f720d1653da (patch)
treee21d8f86d3b7ec2a8b66fe10d56fe96c0c592eb5 /scripts/toy.groovy
parentFix timezone offset bug with scheduling events (diff)
downloadtoy-eeaf7566b91dd377b1e8b00233ce1f720d1653da.zip
No clamps, no preClamps play
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index a769153..93cd179 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -757,6 +757,7 @@ def clampsShow = {
wait(10);
};
def preClamps = {
+ if (!has(CLAMPS)) return;
if (is(CLAMPED)) {
clampsShow();
}