From d7e5baec31eb829269ed8235c21ae5bffb4fea6d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 12 Dec 2018 16:54:34 +0000 Subject: Ensure slow beat stopped --- scripts/toy.groovy | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 1555b51..fe6c194 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -439,7 +439,10 @@ def strokes = { amount, imageSpec -> ["Careful now...", "No accidents..."], ["slow it down...", "slowly now..."]]); playBackgroundSound("toy/30bpm.mp3"); - if (mightCum(getRandom(20) + 5)) return; + if (mightCum(getRandom(20) + 5)) { + playBackgroundSound(null); + return; + } case 2: switch(getSelectedValue("Would you like to cum, toy?", [ gagText("Please, mistress, may I cum!?", "yes"), @@ -462,7 +465,11 @@ def strokes = { amount, imageSpec -> adjustPunish(-5); break; } - if (mightCum(getRandom(8) + 5)) return; + if (mightCum(getRandom(8) + 5)) { + playBackgroundSound(null); + return; + } + playBackgroundSound(null); } present(imageSpec, [ ["Back to stroking, toy...", "Get to it again...."], -- cgit v1.2.3