From 1ee32cf4a19912e64ecb992af6271c97808523af Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Wed, 6 May 2015 17:07:28 +0100 Subject: [PATCH] Fixed bug in SendMessage command if no command specified --- Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs b/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs index 75effc67..976db87f 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs @@ -26,6 +26,7 @@ namespace Fungus if (message.Length == 0) { Continue(); + return; } Flowchart flowchart = GetFlowchart();