فهرست منبع

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();