Fix already installed check

This commit is contained in:
Bepis committed 2018-07-26 01:55:24 +10:00
1 parent 066e171dbd
commit a12d48500f
1 file changed
+1 -1
+1 -1
View File
@@ -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;