From d53ff442989105c0099d4c0689eda3f9139773ba Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 30 Jan 2019 21:16:23 +0000 Subject: Tweak waitTime to avoid intermittent check failure --- scripts/toy.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/toy.groovy') 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], [ -- cgit v1.2.3