Browse Source

Fix already installed check

Bepis 6 years ago
parent
commit
a12d48500f
1 changed files with 1 additions and 1 deletions
  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;