diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index 59829ed9..5281d60a 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -167,15 +167,8 @@ namespace Fungus.EditorUtils return; } - bool isActive = flowchart.IsActive(); - if (PrefabUtility.GetPrefabType(flowchart.gameObject) == PrefabType.Prefab) - { - isActive = true; - } - if (Selection.activeGameObject == null && - flowchart.SelectedBlock != null && - isActive) + flowchart.SelectedBlock != null ) { if (blockInspector == null) {