Closed Neutron3529 closed 1 year ago
Looks like upstream Harmony repo needs to be merged since there's a bunch of changes since the last merge.
For now I cherry picked the commit directly into https://github.com/BepInEx/HarmonyX/commit/4e71dc4f483a8432b001b34e0d2ba7faf47d59b1 so I'll close this PR.
fix #76.
This is a bugfix from https://github.com/pardeike/Harmony/commit/7ab508c95e336619d0b77eb0918d74ac10fbcc2c, which fixes a bug where Harmony calls TargetMethods() always twice.
Unit test:
this simple program currently generate 2
hello world
s, add anotherharmony.PatchAll();
would generate 4hello world
s in total. After this patch, only one is generate perPatchAll
.@js6pak It seems @ghorsington has been inactive for half year, do you know what happened? And, could you please merge this PR for both HarmonyX and BepInEx?