From eeaf7566b91dd377b1e8b00233ce1f720d1653da Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 11 Apr 2019 21:16:20 +0100 Subject: No clamps, no preClamps play --- scripts/toy.groovy | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/toy.groovy') 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(); } -- cgit v1.2.3