diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index 089423a9..c42edbde 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -1123,7 +1123,7 @@ namespace Fungus.EditorUtils var connectedBlocks = new List(); - bool blockIsSelected = (flowchart.SelectedBlock != block); + bool blockIsSelected = flowchart.SelectedBlock == block; var commandList = block.CommandList; foreach (var command in commandList)