diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-30 21:16:23 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-30 21:16:27 +0000 |
commit | d53ff442989105c0099d4c0689eda3f9139773ba (patch) | |
tree | d3575e088059296943942af677590a21d3abecd9 /scripts | |
parent | Add DATAFOLDER const (diff) | |
download | toy-d53ff442989105c0099d4c0689eda3f9139773ba.zip |
Tweak waitTime to avoid intermittent check failure
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/toy.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 56657cb..84978aa 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -956,7 +956,7 @@ def playBondage = { wait(15); setImage(null); show(null); - def waitTime = 300 + getRandom(Math.min(1500, getPunish() * 10)); + def waitTime = 300 + getRandom(Math.min(1500, 1 + getPunish() * 10)); wait(waitTime); playBackgroundSound("bell.wav"); present([STOOD], [ |