Explorar el Código

Fix process filter not working as intended

Bepis hace 6 años
padre
commit
38059a544c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();