summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 57b720e..5bfdd88 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -285,7 +285,7 @@ def strokes = { amount, imageSpec ->
def beatNo = getRandom(BEATS.size());
def beat = BEATS[beatNo];
playBackgroundSound("toy/${beat.bpm}bpm.mp3", 10); // Lots, to cover offset
- def len = getRandom(java.lang.Math.max(1, beat.len + (sto * beatNo)));
+ def len = getRandom(Math.max(1, beat.len + (sto * beatNo)));
if (showButtonG("Edging, mistress", "edging", len) < len) {
sto -= 1;
edges += 1;