Using yarn for dialogue, speech sound wont stop repeating at the end of the dialogue scrolling

I’m making a visual novel game and using yarn to do the dialogue boxes. I have a short sound effect to make it sound like the character is taking, everything works as it should until it gets to the last line of the talking text. The sound I added will just keep repeating over and over again instead of stopping when the text has stopped scrolling. I don’t know how to make the sound stop.

I’ve included a screenshot of the events page in case something is clashing with it, making it bug. If anyone can help id be extremely grateful!

I just tested with the “dialogue tree simple demo” example in the engine, and I can’t reproduce this issue.

That said:
{74CD8A91-917E-414D-8944-31E71193E041}
This event seems odd to me.

You might try instead of “Sound on channel 0 has stopped” to use the “sound on channel 0 is playing” condition, and invert it.

This is what I tested in that example:


And the sound stops on the last line (before I continue to close the dialogue)