Merge pull request #41750 from neikeq/issue-41745
C#: Fix Godot failing to find class namespace
This commit is contained in:
commit
90601bb659
@ -48,7 +48,7 @@ namespace GodotTools
|
|||||||
|
|
||||||
var firstMatch = classes.FirstOrDefault(classDecl =>
|
var firstMatch = classes.FirstOrDefault(classDecl =>
|
||||||
classDecl.BaseCount != 0 && // If it doesn't inherit anything, it can't be a Godot.Object.
|
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)
|
if (firstMatch == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user