diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-11 21:16:20 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-11 21:16:20 +0100 |
commit | eeaf7566b91dd377b1e8b00233ce1f720d1653da (patch) | |
tree | e21d8f86d3b7ec2a8b66fe10d56fe96c0c592eb5 | |
parent | Fix timezone offset bug with scheduling events (diff) | |
download | toy-eeaf7566b91dd377b1e8b00233ce1f720d1653da.zip |
No clamps, no preClamps play
-rw-r--r-- | scripts/toy.groovy | 1 |
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(); } |