summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-12-03 20:05:56 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-12-03 20:05:56 +0000
commit9ab46ce9c8333dcc7826dd14621951136eae12cd (patch)
treea38f4ca0de87e053ee093e8ab8d8724d40dfdcf6 /scripts/toy.groovy
parentTidy please miss options and hide debug choices (diff)
downloadtoy-9ab46ce9c8333dcc7826dd14621951136eae12cd.zip
Remove unnecessary NS
Diffstat (limited to 'scripts/toy.groovy')
-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;