diff --git a/1.1/Assemblies/WhatTheHack.dll b/1.1/Assemblies/WhatTheHack.dll index 7bed3643..2037827a 100644 Binary files a/1.1/Assemblies/WhatTheHack.dll and b/1.1/Assemblies/WhatTheHack.dll differ diff --git a/1.1/Source/WhatTheHack/Harmony/Selector.cs b/1.1/Source/WhatTheHack/Harmony/Selector.cs index b5fd00c8..1993e19e 100644 --- a/1.1/Source/WhatTheHack/Harmony/Selector.cs +++ b/1.1/Source/WhatTheHack/Harmony/Selector.cs @@ -18,7 +18,7 @@ public static class Selector_SelectInsideDragbox //Since the code we want to change is inside a hidden inner function callod b__0, we get the method to be patched using the harmony access tools. static MethodBase TargetMethod() { - return typeof(Selector).GetNestedTypes(AccessTools.all).FirstOrDefault((c) => c.Name =="<>c").GetMethods(AccessTools.all).FirstOrDefault(m => m.Name.Contains("b__29_1")); + return typeof(Selector).GetNestedTypes(AccessTools.all).FirstOrDefault((c) => c.Name =="<>c").GetMethods(AccessTools.all).FirstOrDefault(m => m.Name.Contains("SelectInsideDragBox") && m.Name.EndsWith("_1")); } static IEnumerable Transpiler(IEnumerable instructions) { diff --git a/About/Version.xml b/About/Version.xml index fdf34ee0..dafdf036 100644 --- a/About/Version.xml +++ b/About/Version.xml @@ -4,7 +4,7 @@ but no minimum version will be required --> - 2.1.2 + 2.1.3 5.0.0