From 9ab46ce9c8333dcc7826dd14621951136eae12cd Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 3 Dec 2018 20:05:56 +0000 Subject: Remove unnecessary NS --- scripts/toy.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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; -- cgit v1.2.3