From 54d80c50396ebff2bbc4a62460506212f519fb3b Mon Sep 17 00:00:00 2001 From: Christopher Date: Tue, 31 May 2016 07:20:55 +0100 Subject: [PATCH] Fixed character Name appears in Say Dialog when used from Lua #484 --- Assets/Fungus/Narrative/Scripts/SayDialog.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Fungus/Narrative/Scripts/SayDialog.cs b/Assets/Fungus/Narrative/Scripts/SayDialog.cs index 101869e7..cbf4c709 100644 --- a/Assets/Fungus/Narrative/Scripts/SayDialog.cs +++ b/Assets/Fungus/Narrative/Scripts/SayDialog.cs @@ -127,6 +127,8 @@ namespace Fungus gameObject.AddComponent(); } + SetCharacterName("", Color.white); + // It's possible that SetCharacterImage() has already been called from the // Start method of another component, so check that no image has been set yet. if (currentCharacterImage == null)