summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-30 21:16:23 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-30 21:16:27 +0000
commitd53ff442989105c0099d4c0689eda3f9139773ba (patch)
treed3575e088059296943942af677590a21d3abecd9
parentAdd DATAFOLDER const (diff)
downloadtoy-d53ff442989105c0099d4c0689eda3f9139773ba.zip
Tweak waitTime to avoid intermittent check failure
-rw-r--r--scripts/toy.groovy2
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], [