C#: Fix Godot failing to find class namespace

This commit is contained in:
Ignacio Etcheverry 2020-09-04 01:26:05 +02:00
parent fd51d022c1
commit a0ef3ba5c8
1 changed files with 1 additions and 1 deletions

View File

@ -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)