From 5fe31e4efaeedf8b2e2ce22fb27dfac7f7395ec8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 5 Jan 2019 21:11:59 +0000 Subject: Ensure no sound escapes between activities --- scripts/toy.groovy | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/toy.groovy') 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); } -- cgit v1.2.3