summaryrefslogtreecommitdiff
path: root/scripts/toy/humiliation.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toy/humiliation.groovy')
-rw-r--r--scripts/toy/humiliation.groovy6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/toy/humiliation.groovy b/scripts/toy/humiliation.groovy
index f9df76e..25648d2 100644
--- a/scripts/toy/humiliation.groovy
+++ b/scripts/toy/humiliation.groovy
@@ -50,17 +50,17 @@
};
toy.metaClass.playSuck {
- def playWait = { file, time ->
+ final playWait = { file, time ->
playBackgroundSound(file);
pause(time);
playBackgroundSound(null);
};
- def suck = { file, n, delay ->
+ final suck = { file, n, delay ->
n.times {
playWait(file, delay);
};
};
- def suckBeat = { beat, n ->
+ final suckBeat = { beat, n ->
suck("toy/${beat}bpm.mp3", n, 2 * (60 / beat));
};
def completed = loadInteger("toy.deepthroat.completed") ?: 0;