소스 검색

Merge pull request #41750 from neikeq/issue-41745

C#: Fix Godot failing to find class namespace
Rémi Verschelde 5 년 전
부모
커밋
90601bb659
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)