summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-09-04 01:26:05 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-09-04 01:26:05 +0200
commita0ef3ba5c84fb5296e8a6cb5220284ae13e8a2af (patch)
tree1bb8a13781448a5452351f230e17d84b94264e4f
parentfd51d022c13ddf101b0e5f296c0ffb9e14699847 (diff)
C#: Fix Godot failing to find class namespace
-rw-r--r--modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs b/modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs
index a8afb38728..1d800b8151 100644
--- a/modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs
+++ b/modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs
@@ -48,7 +48,7 @@ namespace GodotTools
var firstMatch = classes.FirstOrDefault(classDecl =>
classDecl.BaseCount != 0 && // If it doesn't inherit anything, it can't be a Godot.Object.
- classDecl.SearchName != searchName // Filter by the name we're looking for
+ classDecl.SearchName == searchName // Filter by the name we're looking for
);
if (firstMatch == null)