Forráskód Böngészése

Fix already installed check

Bepis 6 éve
szülő
commit
a12d48500f
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;