Преглед изворни кода

Fix already installed check

Bepis пре 6 година
родитељ
комит
a12d48500f
1 измењених фајлова са 1 додато и 1 уклоњено
  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;