From 213fbe846d17401e25b5574155440d4bdf37d836 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 16 Aug 2023 15:51:40 -0600 Subject: [PATCH] Don't skip starting music --- src/hollywoo/Movie.kiss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/hollywoo/Movie.kiss b/src/hollywoo/Movie.kiss index c40d328..a72accc 100644 --- a/src/hollywoo/Movie.kiss +++ b/src/hollywoo/Movie.kiss @@ -590,7 +590,9 @@ (dictSet songs name song)) (hollywooMethod playSong [:Bool skipping name :Continuation cc &opt :Float volumeMod :Bool loop :Bool waitForEnd] - (when skipping + // This actually SHOULDN'T skip because the music might be expected to continue on to the place + // we skip to: + **(when skipping (cc) (return)) (set volumeMod (or volumeMod 1)) @@ -604,8 +606,7 @@ (playSong skipping name cc volumeMod true false)) (hollywooMethod stopSong [:Bool skipping cc] - (unless skipping - (director.stopSong)) + (director.stopSong) (cc)) (hollywooMethod newActor [name :Actor actor]