diff --git a/Assets/Fungus/Scripts/Editor/BlockEditor.cs b/Assets/Fungus/Scripts/Editor/BlockEditor.cs index 63c74863..e30b9d43 100644 --- a/Assets/Fungus/Scripts/Editor/BlockEditor.cs +++ b/Assets/Fungus/Scripts/Editor/BlockEditor.cs @@ -387,7 +387,7 @@ namespace Fungus.EditorUtils var upperCommandText = commandTextFieldContents.ToUpper().Trim(); - if (upperCommandText.Length > 0) + if (upperCommandText.Length == 0) return; var tokens = upperCommandText.Split(SPLIT_INPUT_ON);