Fixed concurrent Say commands on same Say Dialog should interrupt #356
@ -135,13 +135,14 @@ namespace Fungus
{
Writer writer = GetWriter();
// Stop any existing Say Command and write this one instead
// This will probably take a frame or two to complete
while (writer.isWriting || writer.isWaitingForInput)
if (writer.isWriting || writer.isWaitingForInput)
writer.Stop();
yield return null;
}
this.fadeWhenDone = fadeWhenDone;