소스 검색

Fix process filter not working as intended

Bepis 6 년 전
부모
커밋
38059a544c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      BepInEx/Chainloader.cs

+ 1 - 1
BepInEx/Chainloader.cs

@@ -72,7 +72,7 @@ namespace BepInEx
 				        if (!filters.Any())
 				            return true;
 
-				        return filters.All(x => x.ProcessName.ToLower().Replace(".exe", "") == currentProcess);
+				        return filters.Any(x => x.ProcessName.ToLower().Replace(".exe", "") == currentProcess);
 				    })
 				    .ToList();