Преглед на файлове

C#: Fix Godot failing to find class namespace

Ignacio Etcheverry преди 5 години
родител
ревизия
a0ef3ba5c8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs

+ 1 - 1
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)