diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-05 21:11:59 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-05 21:11:59 +0000 |
commit | 5fe31e4efaeedf8b2e2ce22fb27dfac7f7395ec8 (patch) | |
tree | 4fbf27102a31a0acfc1a37012ada0599b180df04 /scripts/toy.groovy | |
parent | Fix scheduling of play event (diff) | |
download | toy-5fe31e4efaeedf8b2e2ce22fb27dfac7f7395ec8.zip |
Ensure no sound escapes between activities
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r-- | scripts/toy.groovy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 7e529ae..e927151 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -1062,6 +1062,7 @@ def sessionPlay = { def apply = { activitity, use = null -> if (!activitity) return; def val = (Float)activitity(); + playBackgroundSound(null); if (use) { use(val); } |