From 00ca95b452f0c19331d4869429af17d28d367c67 Mon Sep 17 00:00:00 2001 From: Robin Neal Date: Tue, 2 Apr 2019 13:41:47 +0100 Subject: [PATCH] Whelp, that's embarassing --- Scripts/Editor/NodeEditorWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Editor/NodeEditorWindow.cs b/Scripts/Editor/NodeEditorWindow.cs index b0032a9..20aff76 100644 --- a/Scripts/Editor/NodeEditorWindow.cs +++ b/Scripts/Editor/NodeEditorWindow.cs @@ -73,7 +73,7 @@ namespace XNodeEditor { /// Handle Selection Change events private void OnSelectionChange() { var nodeGraph = Selection.activeObject as XNode.NodeGraph; - if (nodeGraph && !AssetDatatbase.Contains(nodeGraph)) { + if (nodeGraph && !AssetDatabase.Contains(nodeGraph)) { Open(nodeGraph); } }