summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-09-04 08:15:49 +0200
committerGitHub <noreply@github.com>2020-09-04 08:15:49 +0200
commit90601bb65908a8d7a4e93f1790c68f3ad5be9fe9 (patch)
tree04729b8dc788d22db1535f3528c4e9ba8dfae86a
parentd1b0b1962d3481452dcb4ed88cbb7330fe23fb7d (diff)
parenta0ef3ba5c84fb5296e8a6cb5220284ae13e8a2af (diff)
Merge pull request #41750 from neikeq/issue-41745
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)