From d518420e76c7adc521f7e6e89c71029031ad87a2 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 11 Sep 2015 16:30:56 +0100 Subject: [PATCH] Fixed: No need for pause on last punctuation character in a sentence #168 --- Assets/Fungus/UI/Scripts/Writer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Fungus/UI/Scripts/Writer.cs b/Assets/Fungus/UI/Scripts/Writer.cs index e46937d2..db47f38d 100644 --- a/Assets/Fungus/UI/Scripts/Writer.cs +++ b/Assets/Fungus/UI/Scripts/Writer.cs @@ -500,6 +500,7 @@ namespace Fungus // Punctuation pause if (left.Length > 0 && + right.Length > 0 && IsPunctuation(left.Substring(left.Length - 1)[0])) { yield return StartCoroutine(DoWait(currentPunctuationPause));