Explorar el Código

Fix already installed check

Bepis hace 6 años
padre
commit
a12d48500f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BepInEx.Patcher/Program.cs

+ 1 - 1
BepInEx.Patcher/Program.cs

@@ -182,7 +182,7 @@ namespace BepInEx.Patcher
             message = "";
 
             //check if already patched
-            if (unity.MainModule.AssemblyReferences.Any(x => x.Name == "BepInEx"))
+            if (unity.MainModule.AssemblyReferences.Any(x => x.Name.Contains("BepInEx")))
             {
                 canPatch = false;