force-restart voice track when next line plays

This commit is contained in:
2021-12-15 20:24:03 -07:00
parent 09bf29f1b0
commit 8056f1f871

View File

@@ -128,7 +128,7 @@
restoreOriginalVolume ->(set track.volume originalVolume)]
(*= track.volume volumeMod)
(set track.onComplete ->{(restoreOriginalVolume) (cc)}))
(track.play false (* 1000 start) (* 1000 end)))
(track.play true (* 1000 start) (* 1000 end)))
(prop &mut :FlxSound music)
(prop MUSIC_FADE_SEC 1)