diff --git a/Assets/Fungus/Scripts/Editor/BlockEditor.cs b/Assets/Fungus/Scripts/Editor/BlockEditor.cs index 055f9a9c..847893e8 100644 --- a/Assets/Fungus/Scripts/Editor/BlockEditor.cs +++ b/Assets/Fungus/Scripts/Editor/BlockEditor.cs @@ -303,7 +303,7 @@ namespace Fungus.EditorUtils } if (commandSelectedByTextInput != null && - Event.current.keyCode == KeyCode.Return || Event.current.keyCode == KeyCode.KeypadEnter) + (Event.current.keyCode == KeyCode.Return || Event.current.keyCode == KeyCode.KeypadEnter)) { AddCommandCallback(commandSelectedByTextInput); commandSelectedByTextInput = null; @@ -1296,4 +1296,4 @@ namespace Fungus.EditorUtils Repaint(); } } -} \ No newline at end of file +}